mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
21 lines
404 B
SCSS
21 lines
404 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(#{$✨}spacing) * 0.5) 0;
|
|
color: var(#{$✨}muted-color);
|
|
}
|
|
}
|
|
}
|