docs(adminStyles): JSDoc warning про divergent local overrides
Per bot review #132 non-blocking minor — задокументировать почему leads/page.tsx и BulkGeoPanel.tsx имеют local overrides, чтобы будущий читатель не «унифицировал» обратно по ошибке. Refs: #129, #132
This commit is contained in:
parent
d33023d7d6
commit
96fc007609
1 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,17 @@
|
|||
/**
|
||||
* Shared inline styles для admin pages.
|
||||
*
|
||||
* **Divergent local overrides — НЕ унифицировать:**
|
||||
* - `frontend/src/app/admin/leads/page.tsx` — local `th` (padding "10px 12px",
|
||||
* color "#374151"), local `td` (verticalAlign "top"), local `inputStyle`
|
||||
* (fontSize 13, minWidth 160). Cause: разная плотность UI на leads dashboard.
|
||||
* - `frontend/src/components/admin/BulkGeoPanel.tsx` — local `labelStyle` без
|
||||
* `display: block` и `marginBottom`. Cause: labels на <span> внутри строки,
|
||||
* block-display и margin сломали бы inline layout.
|
||||
*
|
||||
* При добавлении новой admin page — сначала проверь что shared values fit
|
||||
* перед introducing local override.
|
||||
*/
|
||||
import type { CSSProperties } from "react";
|
||||
|
||||
export const cardStyle: CSSProperties = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue