mirror of
https://github.com/penpot/penpot.git
synced 2026-10-28 21:40:34 +00:00
🐛 Remove duplicate declarations in the typography sample
`.typography-sample-input` declared `font-size` and `line-height` twice with the same values, so stylelint failed the frontend lint with `declaration-block-no-duplicate-properties`. The duplication came from an earlier staging into develop merge: one side moved the pair next to its comment, the other kept it below `block-size`, and the merge kept both. Drop the second pair. No behaviour change: both pairs held the same values, and only the last declaration of a block takes effect. AI-assisted-by: deepseek-v4.1-flash
This commit is contained in:
parent
8c5113b815
commit
fcbc4f1769
@ -128,9 +128,7 @@ $font-preview-box-height: 28px;
|
||||
flex-shrink: 0;
|
||||
min-inline-size: $sz-24;
|
||||
block-size: 100%;
|
||||
font-size: px2rem(16);
|
||||
white-space: nowrap;
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
color: var(--color-foreground-primary);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user