pico/scss/layout/_scroller.scss

19 lines
312 B
SCSS
Raw Normal View History

2022-10-22 13:11:51 +07:00
@use "../settings" as *;
2019-11-27 15:31:49 +07:00
/**
* Horizontal scroller (<figure>)
*/
// Wrapper to make any content responsive across all viewports
figure {
display: block;
2021-10-24 12:33:20 +07:00
margin: 0;
2019-11-27 15:31:49 +07:00
padding: 0;
overflow-x: auto;
figcaption {
2022-10-22 13:11:51 +07:00
padding: calc(var(#{$}spacing) * 0.5) 0;
color: var(#{$}muted-color);
2019-11-27 15:31:49 +07:00
}
2022-10-15 23:22:12 +07:00
}