- Notifications
You must be signed in to change notification settings - Fork1.1k
Commite5758a1
authored
fix(site): center
`-webkit-fill-available` is not available in Firefox:https://caniuse.com/mdn-css_properties_height_stretch`-moz-available` doesn't work on `height`, so we have to use `100vh`.Before:<img width="1405" alt="image" src="https://github.com/user-attachments/assets/bd0f4390-50e9-47fa-8501-f3e3483d3c0d" />After:<img width="1329" alt="image" src="https://github.com/user-attachments/assets/f19f4b2a-3398-4d64-8e12-5cfcb84106a9" />The existing CSS is retained in browsers that support `-webkit-fill-available`, i.e. chrome:<img width="253" alt="image" src="https://github.com/user-attachments/assets/c1b356b4-c228-4580-a4c3-cddc2e0327b4" />/cli-auth on firefox (#17929)1 parentdc21016 commite5758a1
File tree
2 files changed
+4
-2
lines changed- site/src
- components/SignInLayout
- pages/CliInstallPage
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments
Comments
(0)