mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
style: lists
This commit is contained in:
parent
3d27099a76
commit
00f1486a04
1 changed files with 2 additions and 9 deletions
|
@ -115,12 +115,7 @@
|
|||
}
|
||||
|
||||
// Lists
|
||||
:where(dl, ol, ul) {
|
||||
padding-right: 0;
|
||||
padding-left: var(#{$✨}spacing);
|
||||
padding-inline-start: var(#{$✨}spacing);
|
||||
padding-inline-end: 0;
|
||||
|
||||
:where(ol, ul) {
|
||||
li {
|
||||
margin-bottom: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
||||
}
|
||||
|
@ -128,11 +123,9 @@
|
|||
|
||||
// Margin-top for nested lists
|
||||
// 1. Remove the margin on nested lists in Chrome, Edge, IE, and Safari
|
||||
:where(dl, ol, ul) {
|
||||
:is(dl, ol, ul) {
|
||||
:where(dl, ol, ul) :where(dl, ol, ul) {
|
||||
margin: 0; // 1
|
||||
margin-top: calc(var(#{$✨}typography-spacing-vertical) * 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
ul li {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue