Skip to content

Commit 1916357

Browse files
committed
style: adjust padding, gap, and font size
1 parent e576ffa commit 1916357

1 file changed

Lines changed: 17 additions & 22 deletions

File tree

src/app.css

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ body.dark-mode .mode-toggle .icon-moon {
199199

200200
#body {
201201
flex: 1;
202-
padding: 16px;
202+
padding: 14px;
203203
display: flex;
204204
justify-content: center;
205205
align-items: stretch;
206206
background-color: var(--content-bg);
207-
gap: 6px;
207+
gap: 3px;
208208
height: calc(100% - 60px);
209209
overflow: hidden;
210210
}
@@ -289,7 +289,7 @@ body.dark-mode .mode-toggle .icon-moon {
289289
.instruction {
290290
margin-bottom: 12px;
291291
color: var(--text-color);
292-
font-size: 14px;
292+
font-size: 16px;
293293
opacity: 0.8;
294294
}
295295

@@ -332,12 +332,13 @@ body.dark-mode .mode-toggle .icon-moon {
332332
flex-direction: row;
333333
justify-content: space-between;
334334
gap: 12px;
335-
height: 50px;
335+
height: auto;
336336
flex-wrap: wrap;
337+
align-items: center;
337338
}
338339

339340
.convert-option {
340-
padding: 8px 12px;
341+
padding: 6px 12px;
341342
cursor: pointer;
342343
border: 1px solid var(--border-color);
343344
border-radius: 8px;
@@ -349,11 +350,10 @@ body.dark-mode .mode-toggle .icon-moon {
349350
display: flex;
350351
align-items: center;
351352
gap: 8px;
352-
flex: 1;
353353
justify-content: center;
354354
background-color: var(--panel-bg);
355-
min-height: 40px;
356-
355+
height: 42px;
356+
max-height: 50px;
357357
flex: 1 1 auto;
358358
}
359359

@@ -454,7 +454,6 @@ body.dark-mode .mode-toggle .icon-moon {
454454

455455
@media (min-width: 1200px) {
456456
.action-panel {
457-
max-width: 90%;
458457
margin: 0 auto;
459458
}
460459
}
@@ -512,25 +511,18 @@ body.dark-mode .mode-toggle .icon-moon {
512511
}
513512

514513
.convert-option {
515-
padding: 6px 8px;
516-
}
517-
518-
.download-text {
519-
font-size: 12px;
514+
flex: 1 0 calc(50% - 8px);
515+
min-width: 120px;
516+
padding: 4px 8px;
517+
height: 32px;
518+
max-height: 32px;
520519
}
521520

522521
.action-panel {
523522
flex-wrap: wrap;
524523
height: auto;
525524
gap: 8px;
526525
}
527-
528-
.convert-option {
529-
flex: 1 0 calc(50% - 8px);
530-
531-
min-width: 120px;
532-
padding: 6px 8px;
533-
}
534526
}
535527

536528
@media (max-width: 480px) {
@@ -560,7 +552,10 @@ body.dark-mode .mode-toggle .icon-moon {
560552

561553
.convert-option {
562554
flex: 1 0 100%;
563-
padding: 6px 4px;
555+
padding: 4px 4px;
556+
height: 30px;
557+
max-height: 30px;
558+
width: 100%;
564559
}
565560

566561
.cursor-icon {

0 commit comments

Comments
 (0)