feat(skin): improved responsive design (#1832)

This commit is contained in:
Sam Potts
2026-07-31 06:49:06 +10:00
committed by GitHub
parent 6232247d1a
commit c8a9eecaf8
103 changed files with 2399 additions and 2149 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ test.describe('Visual — HTML Portrait Layout', () => {
const thumbnail = document.querySelector('video-skin')!.shadowRoot!.querySelector('media-slider-thumbnail')!;
const style = getComputedStyle(thumbnail);
const probe = document.createElement('div');
probe.style.height = style.getPropertyValue('--media-slider-thumbnail-max-height');
probe.style.height = style.getPropertyValue('--max-height');
document.body.append(probe);
const configuredMaxHeight = parseFloat(getComputedStyle(probe).height);