Skip to content

Commit 03620e5

Browse files
committed
fix: clickable elements are too close together
1 parent ad5231b commit 03620e5

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

assets/style/index.css

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ main {
2323
position: relative;
2424
float: left;
2525
width: 50%;
26-
height: calc(25% - 50px);
26+
height: calc(25% - 60px);
2727
overflow: hidden;
2828

2929
display: flex;
@@ -56,23 +56,23 @@ main {
5656
}
5757
main > section > form > div {
5858
position: absolute;
59-
padding: 20px;
59+
padding: 20px 20px 0 20px;
6060
left: 0;
6161
top: 50%;
6262
width: 100%;
6363
height: max-content;
64-
max-height: calc(100% - 60px);
64+
max-height: calc(100% - 50px);
6565
overflow: auto;
6666

67-
transform: translateY(calc(-50% - 30px));
67+
transform: translateY(calc(-50% - 25px));
6868

6969
display: flex;
7070
flex-direction: column;
7171
align-items: center;
7272
}
7373
main > section > form > div > label {
7474
display: block;
75-
margin: 0 5px 10px 5px;
75+
margin: 0 5px 20px 5px;
7676
float: left;
7777
width: 800px;
7878
max-width: calc(100% - 10px);
@@ -132,6 +132,7 @@ main {
132132
border-radius: 5px;
133133
}
134134
main > section > form > div > label > span > input[type="text"] {
135+
display: inline-block;
135136
width: 300px;
136137
max-width: calc(100% - 50px);
137138
}
@@ -183,11 +184,11 @@ main {
183184
}
184185
main > section > form > nav {
185186
position: absolute;
186-
padding: 0 15px;
187+
padding: 10px 15px;
187188
left: 0;
188189
bottom: 0;
189190
width: 100%;
190-
height: 40px;
191+
height: 50px;
191192

192193
display: flex;
193194
justify-content: space-between;
@@ -223,10 +224,11 @@ main {
223224

224225
footer {
225226
position: fixed;
227+
padding: 3px;
226228
left: 0;
227229
bottom: 0;
228230
width: 100%;
229-
height: 50px;
231+
height: 60px;
230232
background-color: #24292e;
231233

232234
z-index: 3;
@@ -252,4 +254,4 @@ footer {
252254
footer > div > a {
253255
padding: 0 5px 0 10px;
254256
color: #fff;
255-
}
257+
}

0 commit comments

Comments
 (0)