|
43 | 43 | color: var(--text-primary); |
44 | 44 | font-family: 'Season Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
45 | 45 | -webkit-font-smoothing: antialiased; |
46 | | - letter-spacing: 0.02em; |
47 | 46 | user-select: none; |
48 | 47 | } |
49 | 48 | header { |
|
105 | 104 | display: inline-flex; |
106 | 105 | height: 30px; |
107 | 106 | align-items: center; |
108 | | - justify-content: center; |
| 107 | + gap: 6px; |
109 | 108 | appearance: none; |
110 | 109 | border: 0; |
111 | 110 | background: transparent; |
|
115 | 114 | font: inherit; |
116 | 115 | font-size: 14px; |
117 | 116 | line-height: 20px; |
| 117 | + text-align: left; |
118 | 118 | cursor: pointer; |
119 | 119 | outline: none; |
120 | 120 | transition: |
121 | 121 | color 150ms cubic-bezier(0.4, 0, 0.2, 1), |
122 | | - background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); |
| 122 | + background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), |
| 123 | + border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), |
| 124 | + text-decoration-color 150ms cubic-bezier(0.4, 0, 0.2, 1), |
| 125 | + fill 150ms cubic-bezier(0.4, 0, 0.2, 1), |
| 126 | + stroke 150ms cubic-bezier(0.4, 0, 0.2, 1); |
123 | 127 | -webkit-app-region: no-drag; |
124 | 128 | } |
| 129 | + button .label { |
| 130 | + min-width: 0; |
| 131 | + flex: 1; |
| 132 | + overflow: hidden; |
| 133 | + color: currentColor; |
| 134 | + text-overflow: ellipsis; |
| 135 | + white-space: nowrap; |
| 136 | + } |
125 | 137 | button.primary { |
126 | 138 | background: var(--text-primary); |
127 | 139 | color: var(--text-inverse); |
@@ -177,8 +189,8 @@ <h1 id="title">Can’t connect to Sim</h1> |
177 | 189 | Sim couldn’t reach the server. Check your internet connection, then try again. |
178 | 190 | </p> |
179 | 191 | <div class="actions"> |
180 | | - <button class="primary" id="retry">Retry</button> |
181 | | - <button class="secondary" id="status">Check status</button> |
| 192 | + <button class="primary" id="retry"><span class="label">Retry</span></button> |
| 193 | + <button class="secondary" id="status"><span class="label">Check status</span></button> |
182 | 194 | </div> |
183 | 195 | <div id="detail" role="status"></div> |
184 | 196 | </div> |
|
0 commit comments