mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-04 05:41:34 +00:00
Keep footer documentation out of the shipped CSS
Move the explanatory comment to TypeScript without changing styles; preserve the existing bundle-budget noise margin. Include independently accepted #498 in the release status. Issue: #505 Issue: #498 User-Visible: no
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
/** Dialogs, forms, buttons and pickers (#266, split from styles.ts). */
|
||||
/** Dialogs, forms, buttons and pickers (#266, split from styles.ts).
|
||||
* Footer hit targets belong here, not in lazy summary-panel styles (#505).
|
||||
*/
|
||||
import { css } from 'lit';
|
||||
|
||||
export const dialogsStyles = css`
|
||||
@@ -1514,7 +1516,6 @@ export const dialogsStyles = css`
|
||||
padding: var(--sp-5) var(--sp-6);
|
||||
border-top: 1px solid var(--hp-line);
|
||||
}
|
||||
/* Shared footer target size, independent of lazy summary-panel styles (#505). */
|
||||
hp-dialog > .row[slot='footer'] button {
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user