mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(skin): improved responsive design (#1832)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user