chore: update lint rules for comments

This commit is contained in:
2026-10-12 12:55:31 +05:00
parent 66b23ec3bf
commit 0e6a8464af
10 changed files with 317 additions and 48 deletions
@@ -90,7 +90,7 @@
align-items: center;
justify-content: space-between;
gap: var(--space-m);
/* Резерв под бейдж: строка не прыгает, когда заметка появляется. */
/* Reserve for the badge: the row does not jump when the note appears. */
min-height: var(--space-xxl);
margin-bottom: var(--space-m);
font: var(--font-size-s) var(--font-mono);
@@ -105,7 +105,7 @@
align-items: center;
gap: var(--space-m);
}
/* Место под заметки результата: бейджи-предупреждения. */
/* Slot for result notes: warning badges. */
.tile-note {
display: inline-flex;
align-items: center;
@@ -177,12 +177,12 @@
cursor: not-allowed;
}
.menu {
/* Native popover: top layer + light dismiss + Escape из коробки;
позиционирование — trackPopover (anchor() поддержан не везде). */
/* Native popover: top layer + light dismiss + Escape out of the box;
positioning is trackPopover (anchor() is not supported everywhere). */
position: fixed;
margin: 0;
translate: 0 var(--space-s);
/* Ширина под строку качества: числовое поле + степперы + сброс. */
/* Width for the quality row: number field + steppers + reset. */
min-width: calc(var(--space-xxxl) * 9);
gap: var(--space-s);
padding: var(--space-m);
@@ -190,8 +190,8 @@
border-radius: var(--radius-m);
background: var(--color-panel);
}
/* display задаётся только в открытом состоянии: авторский display
перебивает UA-правило [popover]:not(:popover-open) { display: none }. */
/* display applies only while open: the author display overrides the
UA rule [popover]:not(:popover-open) { display: none }. */
.menu:popover-open {
display: grid;
}
@@ -128,8 +128,8 @@
display: flex;
align-items: center;
justify-content: center;
/* Вложен в PreviewTile.canvas: без растяжения сжимался по контенту и
ломал parts-grid в одну колонку. */
/* Nested in PreviewTile.canvas: without stretch it shrank to its
content and collapsed parts-grid into a single column. */
width: 100%;
align-self: stretch;
min-height: var(--size-tile-canvas-min);
@@ -105,8 +105,8 @@
color: var(--color-text);
}
.menu {
/* Native popover: top layer + light dismiss + Escape из коробки;
позиционирование — trackPopover (anchor() поддержан не везде). */
/* Native popover: top layer + light dismiss + Escape out of the box;
positioning is trackPopover (anchor() is not supported everywhere). */
position: fixed;
margin: 0;
translate: 0 var(--space-s);
@@ -119,8 +119,8 @@
border-radius: var(--radius-m);
background: var(--color-panel);
}
/* display задаётся только в открытом состоянии: авторский display
перебивает UA-правило [popover]:not(:popover-open) { display: none }. */
/* display applies only while open: the author display overrides the
UA rule [popover]:not(:popover-open) { display: none }. */
.menu:popover-open {
display: grid;
}
+4 -4
View File
@@ -60,7 +60,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
/* Мини-размер цели в 24px: попадание пальцем без промаха. */
/* Mini target size at 24px: tap without missing. */
width: calc(var(--space-xxxl) * 0.66);
height: calc(var(--space-xxxl) * 0.66);
padding: 0;
@@ -78,9 +78,9 @@
color: var(--color-text);
border-color: var(--color-main);
}
/* Нативный popover живёт в top layer: light dismiss, Escape и раскладка
поверх всего — из коробки. Позиционирование — trackPopover: anchor()
поддержан не во всех браузерах. */
/* The native popover lives in the top layer: light dismiss, Escape and
stacking above everything come for free. Positioning is trackPopover:
anchor() is not supported in every browser. */
.popover {
position: fixed;
margin: 0;