Skip to content

Commit

Permalink
set min-height for open settings, shrink h2
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Feb 9, 2025
1 parent 739eeba commit 5a3ad10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/edit/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ i,
&[open] {
overflow-y: auto;
margin-top: calc(1.5*var(--pad));
&.settings {
min-height: 6em;
}
> summary {
position: absolute;
margin-top: calc(-1.5*var(--pad));
Expand All @@ -223,6 +226,7 @@ i,
padding-left: 13px; /* clicking directly on details-marker doesn't set pref so we cover it with h2 */
max-width: calc(var(--header-width) - 2*var(--pad));
vertical-align: middle;
font-size: 16px;
&,
> :first-child {
white-space: nowrap;
Expand Down

0 comments on commit 5a3ad10

Please sign in to comment.