mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
test(dialog): strengthen mobile fullscreen witness (#609)
The mobile mutant now changes both public height bounds, so the browser test observes the intended 48 px regression instead of CSS min-height precedence masking it. Issue: #609 User-Visible: no
This commit is contained in:
@@ -101,8 +101,10 @@ const MUTANT_DEFINITIONS = [
|
||||
+ 'desktop 48 px height inset clips the reviewed mobile surface and footer',
|
||||
patches: [{
|
||||
file: 'src/hp-dialog.ts',
|
||||
find: ' --ha-dialog-max-height: var(--safe-height, 100dvh);',
|
||||
replace: ' --ha-dialog-max-height: calc(var(--safe-height, 100dvh) - 48px);',
|
||||
find: ' --ha-dialog-min-height: var(--safe-height, 100dvh);\n'
|
||||
+ ' --ha-dialog-max-height: var(--safe-height, 100dvh);',
|
||||
replace: ' --ha-dialog-min-height: calc(var(--safe-height, 100dvh) - 48px);\n'
|
||||
+ ' --ha-dialog-max-height: calc(var(--safe-height, 100dvh) - 48px);',
|
||||
}],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user