improved visibility notice styles while i'm at it

This commit is contained in:
Henry Jameson 2026-02-16 17:05:19 +02:00
commit 6d6c627c3e
2 changed files with 9 additions and 7 deletions

View file

@ -797,14 +797,17 @@ option {
} }
.notice-dismissible { .notice-dismissible {
padding-right: 4rem; display: flex;
position: relative; padding: 0.75em 1em;
align-items: baseline;
line-height: 1.5;
span {
display: block;
flex: 1 1 auto;
}
.dismiss { .dismiss {
position: absolute;
top: 0;
right: 0;
padding: 0.5em;
color: inherit; color: inherit;
} }
} }

View file

@ -111,7 +111,6 @@
.visibility-notice { .visibility-notice {
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: var(--roundness); border-radius: var(--roundness);
padding: 0.5em 1em
} }
.visibility-notice.edit-warning { .visibility-notice.edit-warning {