mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
feat: remove horizontal scroller
This commit is contained in:
parent
d1932eb325
commit
d3455eaca1
125 changed files with 4 additions and 1679 deletions
|
@ -12,7 +12,6 @@
|
|||
@use "layout/container"; // .container, .container-fluid
|
||||
@use "layout/section"; // section
|
||||
@use "layout/grid"; // .grid
|
||||
@use "layout/scroller"; // figure
|
||||
|
||||
// Content
|
||||
@use "content/link"; // a, role="link"
|
||||
|
|
|
@ -108,7 +108,6 @@ $modules: map.merge(
|
|||
"layout/container": true,
|
||||
"layout/section": true,
|
||||
"layout/grid": true,
|
||||
"layout/scroller": true,
|
||||
|
||||
// Content
|
||||
"content/link": true,
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
@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
|
||||
#{$parent-selector} 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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue