mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 02:14:13 -05:00
css: add figure as a horizontal scroller
This commit is contained in:
@@ -135,6 +135,19 @@ details {
|
||||
}
|
||||
}
|
||||
|
||||
// Make figure a scroller (stolen from picocss)
|
||||
figure {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: auto;
|
||||
|
||||
figcaption {
|
||||
padding: 1em;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
}
|
||||
|
||||
// ===================
|
||||
// More specific stuff
|
||||
// ===================
|
||||
|
||||
Reference in New Issue
Block a user