Browse Source

Change list-style-position back to "outside"

Using "inside" has some weird wrapping issues that I forgot about, this
should be better (but needs a bigger margin).
merge-requests/48/head
Deimos 6 years ago
parent
commit
efcb0eaec4
  1. 5
      tildes/scss/_placeholders.scss
  2. 1
      tildes/scss/modules/_nav.scss

5
tildes/scss/_placeholders.scss

@ -4,12 +4,11 @@
// sets up (nested) lists specifically for text content // sets up (nested) lists specifically for text content
%lists-text { %lists-text {
ol, ul { ol, ul {
list-style-position: inside;
margin: 0 0 0.4rem 1rem;
margin: 0 0 0.4rem 2rem;
li { li {
margin-top: 0.2rem; margin-top: 0.2rem;
max-width: $paragraph-max-width - 1rem;
max-width: $paragraph-max-width - 2rem; // subtract left margin
} }
&:last-child { &:last-child {

1
tildes/scss/modules/_nav.scss

@ -12,6 +12,7 @@
margin-left: 0; margin-left: 0;
li { li {
margin-top: 0.2rem;
font-size: 0.8rem; font-size: 0.8rem;
font-weight: normal; font-weight: normal;
border-bottom: 0; border-bottom: 0;

Loading…
Cancel
Save