Browse Source

<details>: apply max-width when open or closed

merge-requests/77/merge
Deimos 5 years ago
parent
commit
005a8ca444
  1. 2
      tildes/scss/_placeholders.scss

2
tildes/scss/_placeholders.scss

@ -15,10 +15,10 @@
margin-bottom: 0.4rem; margin-bottom: 0.4rem;
padding: 0.2rem 0.4rem; padding: 0.2rem 0.4rem;
border: 1px dotted; border: 1px dotted;
max-width: $paragraph-max-width;
&:not([open]) { &:not([open]) {
cursor: pointer; cursor: pointer;
max-width: $paragraph-max-width;
} }
} }

Loading…
Cancel
Save