mirror of
https://github.com/picocss/pico.git
synced 2025-02-24 00:39:20 -05:00
22 lines
426 B
SCSS
22 lines
426 B
SCSS
@use "sass:map";
|
|
@use "../settings" as *;
|
|
|
|
@if map.get($modules, "layout/scroller") {
|
|
/**
|
|
* Horizontal scroller (<figure>)
|
|
*/
|
|
|
|
// Wrapper to make allow any content to be scrolled horizontally
|
|
figure {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow-x: auto;
|
|
|
|
figcaption {
|
|
padding: calc(var(#{$css-var-prefix}spacing) * 0.5) 0;
|
|
color: var(#{$css-var-prefix}muted-color);
|
|
}
|
|
}
|
|
}
|