Skip to content

Commit 0e16283

Browse files
committed
stylelint: Fix declaration-block-no-redundant-longhand-properties.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent d86482a commit 0e16283

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

app/renderer/css/preference.css

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,7 @@ input.toggle-round + label::after {
482482
input.toggle-round + label::before {
483483
background-color: rgb(241 241 241 / 100%);
484484
border-radius: 25px;
485-
top: 0;
486-
right: 0;
487-
left: 0;
488-
bottom: 0;
485+
inset: 0;
489486
}
490487

491488
input.toggle-round + label::after {
@@ -497,10 +494,7 @@ input.toggle-round + label::after {
497494

498495
input.toggle-round:checked + label::before {
499496
background-color: rgb(78 191 172 / 100%);
500-
top: 0;
501-
right: 0;
502-
left: 0;
503-
bottom: 0;
497+
inset: 0;
504498
}
505499

506500
input.toggle-round:checked + label::after {

0 commit comments

Comments
 (0)