Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit b6387ea

Browse files
committed
fix spacing on chrome
1 parent e045dd8 commit b6387ea

File tree

4 files changed

+11
-25
lines changed

4 files changed

+11
-25
lines changed

src/css/DownloadView.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717

1818
.download-view .info svg {
19-
margin: 0 auto 0.5rem;
19+
margin: 0.5rem auto;
2020
display: block;
2121

2222
width: 3rem;
@@ -37,7 +37,8 @@
3737
}
3838

3939
.controls-container {
40-
margin-bottom: 2rem;
41-
4240
flex: 1;
4341
}
42+
.controls-container .button.primary {
43+
margin-bottom: 0;
44+
}

src/css/Header.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
header {
2-
width: 100vw;
3-
min-height: var(--header-height);
4-
position: sticky;
5-
top: 0;
6-
left: 0;
2+
flex-basis: var(--header-height);
73
flex: none;
84

95
box-sizing: border-box;

src/css/List.css

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
#list-container {
2-
min-width: calc(15rem * 4 + 0.5rem * 5);
3-
width: 100%;
4-
height: 100%;
2+
-webkit-overflow-scrolling: touch;
3+
overflow-x: auto;
54
position: relative;
65

6+
flex: 1;
77
display: grid;
88
grid-template-columns: repeat(4, minmax(15rem, 1fr));
99

1010
padding-left: max(0.5rem, env(safe-area-inset-left));
1111
padding-right: max(0.5rem, env(safe-area-inset-right));
1212
padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
1313
gap: 0.5rem;
14-
15-
flex: 1;
16-
17-
overflow-y: hidden;
1814
}
1915
#list-container::before {
2016
width: 47rem;
@@ -31,8 +27,6 @@
3127
}
3228

3329
section {
34-
height: 100%;
35-
3630
display: flex;
3731
flex-direction: column;
3832

src/css/base.css

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ body {
104104
background-color: var(--background-color);
105105
color: var(--text-color);
106106

107-
-webkit-overflow-scrolling: touch;
108-
overflow-x: auto;
109-
overflow-y: hidden;
107+
display: flex;
108+
flex-direction: column;
110109
}
111110

112111
body,
@@ -121,11 +120,7 @@ button {
121120
}
122121

123122
#root {
124-
width: min-content;
125-
height: 100%;
126-
127-
display: flex;
128-
flex-direction: column;
123+
display: contents;
129124
}
130125

131126
svg {

0 commit comments

Comments
 (0)