refactor: clean

This commit is contained in:
Lucas Larroche 2023-04-02 10:05:01 +07:00
parent 00f1486a04
commit 65bedda83a
3 changed files with 3 additions and 4 deletions

View file

@ -124,8 +124,8 @@
// Margin-top for nested lists
// 1. Remove the margin on nested lists in Chrome, Edge, IE, and Safari
:where(dl, ol, ul) :where(dl, ol, ul) {
margin: 0; // 1
margin-top: calc(var(#{$}typography-spacing-vertical) * 0.25);
margin: 0; // 1
margin-top: calc(var(#{$}typography-spacing-vertical) * 0.25);
}
ul li {

View file

@ -8,7 +8,7 @@
// 1. Hack to display the outline on the focused file selector button
// with the forced overflow hidden on the input[type="file"] element.
input[type="file"] {
[type="file"] {
#{$✨}color: var(#{$}muted-color);
margin-left: calc(var(#{$}outline-width) * -1); // 1
padding: calc(var(#{$}form-element-spacing-vertical) * 0.5) 0;

View file

@ -10,7 +10,6 @@
input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]) {
&[type="search"] {
padding-inline-start: calc(var(#{$}form-element-spacing-horizontal) + 1.75rem);
border-radius: 5rem;
background-image: var(#{$}icon-search);
background-position: center left 1.125rem;
background-size: 1rem auto;