Skip to content

Commit 352255e

Browse files
committed
Match the styling of figures with the website
1 parent fefc0b4 commit 352255e

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

_sass/docs.scss

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,23 @@
182182

183183
figure {
184184
img {
185-
width: 100%;
185+
border-radius: 3px;
186+
background-color: $sr-white;
187+
border: 1px solid darken($sr-light-grey, 10%);
188+
padding: 3px;
189+
}
190+
191+
&.spaced-figure-non-bold-caption {
192+
figcaption {
193+
font-weight: normal;
194+
font-size: 1em;
195+
}
196+
197+
margin-bottom: 1.5rem;
198+
199+
&:last-of-type {
200+
margin-bottom: 0;
201+
}
186202
}
187203
}
188204
}

0 commit comments

Comments
 (0)