From fcbc4f17695d6a81892465e0f9588c83b6f658c1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 17 Oct 2026 12:53:13 +0000 Subject: [PATCH] :bug: 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 --- .../app/main/ui/workspace/sidebar/options/menus/typography.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.scss b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.scss index 40e0374813..b9354a9f10 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.scss +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/typography.scss @@ -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); }