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

@ -8,7 +8,7 @@
// 1. Hack to display the outline on the focused file selector button // 1. Hack to display the outline on the focused file selector button
// with the forced overflow hidden on the input[type="file"] element. // with the forced overflow hidden on the input[type="file"] element.
input[type="file"] { [type="file"] {
#{$✨}color: var(#{$}muted-color); #{$✨}color: var(#{$}muted-color);
margin-left: calc(var(#{$}outline-width) * -1); // 1 margin-left: calc(var(#{$}outline-width) * -1); // 1
padding: calc(var(#{$}form-element-spacing-vertical) * 0.5) 0; 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"]) { input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]) {
&[type="search"] { &[type="search"] {
padding-inline-start: calc(var(#{$}form-element-spacing-horizontal) + 1.75rem); padding-inline-start: calc(var(#{$}form-element-spacing-horizontal) + 1.75rem);
border-radius: 5rem;
background-image: var(#{$}icon-search); background-image: var(#{$}icon-search);
background-position: center left 1.125rem; background-position: center left 1.125rem;
background-size: 1rem auto; background-size: 1rem auto;