fix now card width
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
.field-notes {
|
||||
margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--theme-line); border-radius: 1rem;
|
||||
color: var(--theme-ink); background: var(--theme-surface); overflow-wrap: anywhere;
|
||||
h2 { font-size: 1.3rem; }
|
||||
p, small { line-height: 1.55; }
|
||||
details { margin: .8rem 0; }
|
||||
summary { cursor: pointer; padding: .4rem 0; font-weight: 650; }
|
||||
form { margin-top: .8rem; }
|
||||
label, small { display: block; margin: .4rem 0; }
|
||||
input, select, textarea { width: 100%; max-width: 100%; min-width: 0; padding: .65rem; border: 1px solid var(--theme-line); border-radius: .5rem; font: inherit; color: var(--theme-ink); background: var(--theme-input); }
|
||||
textarea { resize: vertical; }
|
||||
button { margin-top: .7rem; padding: .65rem 1rem; border: 1px solid var(--theme-line); border-radius: .5rem; background: var(--theme-surface-raised); color: var(--theme-ink); font: inherit; cursor: pointer; }
|
||||
:focus-visible { outline: 3px solid #789eff; outline-offset: 3px; }
|
||||
&__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
|
||||
&__timeline { padding-left: 1.3rem; }
|
||||
&__timeline > li { padding: .6rem 0 1rem .4rem; border-bottom: 1px solid var(--theme-line); }
|
||||
&__content { white-space: pre-wrap; }
|
||||
&__meta, small { color: var(--theme-muted); font-size: .85rem; }
|
||||
.errorlist { color: #f28c96; }
|
||||
@media (max-width: 650px) { &__fields { grid-template-columns: 1fr; } }
|
||||
}
|
||||
Reference in New Issue
Block a user