pico/scss/layout/_scroller.scss

17 lines
273 B
SCSS
Raw Normal View History

2019-11-27 15:31:49 +07:00
/**
* Horizontal scroller (<figure>)
*/
// Wrapper to make any content responsive across all viewports
figure {
display: block;
2019-12-03 09:51:37 +07:00
margin:0;
2019-11-27 15:31:49 +07:00
padding: 0;
overflow-x: auto;
figcaption {
2021-07-02 16:54:41 +07:00
padding: calc(var(--spacing) / 2) 0;
color: var(--muted-color);
2019-11-27 15:31:49 +07:00
}
}