Skip to content

Commit 1ce1db6

Browse files
committed
remove unnecessary padding in filters
1 parent 1b608c3 commit 1ce1db6

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/components/syntaxes/filters/ReturnTypeFilter.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ const returnTypeOptions = rawSyntaxes.types.map((type: any) => type.name);
8787
fieldset {
8888
border-color: var(--sl-color-hairline);
8989
border-style: solid;
90-
padding: 1rem;
9190
}
9291

9392
fieldset > legend {

src/components/syntaxes/filters/VersionFilter.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ const INITIAL_VISIBLE_COUNT = 3;
458458
#version-type-fieldset-mobile {
459459
display: flex;
460460
flex-direction: column;
461-
gap: 0.5rem;
462461
}
463462

464463
.version-tree {
@@ -470,7 +469,6 @@ const INITIAL_VISIBLE_COUNT = 3;
470469
.version-list-hidden {
471470
display: flex;
472471
flex-direction: column;
473-
gap: 0.5rem;
474472
}
475473

476474
.version-list-hidden {
@@ -479,7 +477,6 @@ const INITIAL_VISIBLE_COUNT = 3;
479477

480478
.show-all.version-list-hidden {
481479
display: flex;
482-
margin-top: 0.5rem;
483480
}
484481

485482
.version-group {
@@ -512,8 +509,8 @@ const INITIAL_VISIBLE_COUNT = 3;
512509
}
513510

514511
.show-more-versions {
515-
margin-top: 0.75rem;
516-
padding: 0.5rem 1rem;
512+
margin-top: 0.25rem;
513+
padding: 0.25rem 0.5rem;
517514
background-color: var(--sl-color-gray-6);
518515
border: 1px solid var(--sl-color-gray-5);
519516
border-radius: 0.25rem;

0 commit comments

Comments
 (0)