fix(quick-260922-ge2): Rahmenhoehe in der Kachel = Vorschauhoehe, Vorschau ohne Querbalken
Befund aus dem Browser-Rundgang: example.com setzt `margin: 15vh` — mit 3000 px Vorschauhoehe lag die Ueberschrift bei y 450, in der Kachel mit 720 px Rahmenhoehe bei y 108. Der in der Vorschau gewaehlte Ausschnitt zeigte in der Kachel also etwas anderes. Die Kachel nutzt jetzt dieselbe Layouthoehe wie die Vorschau (3000), damit vh-relative Seiten identisch umbrechen; der Rest wird ohnehin weggeschnitten. Vorschau: `overflow-x-hidden`, die Eckgriffe am rechten Rand erzeugten einen 4-px-Querbalken. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -179,7 +179,7 @@ describe('XframeWidget — Ausschnitt, Zoom, readOnly (quick-260922-ge2)', () =>
|
||||
expect(f.style.left).toBe('0px');
|
||||
expect(f.style.top).toBe('0px');
|
||||
expect(f.style.width).toBe('1280px');
|
||||
expect(f.style.height).toBe('720px');
|
||||
expect(f.style.height).toBe('3000px');
|
||||
expect(f.style.transform).toBe('scale(0.5)');
|
||||
expect(f.style.transformOrigin).toBe('0 0');
|
||||
expect(f.className).not.toContain('h-full');
|
||||
@@ -201,7 +201,7 @@ describe('XframeWidget — Ausschnitt, Zoom, readOnly (quick-260922-ge2)', () =>
|
||||
const f = frame();
|
||||
expect(f.style.left).toBe('-160px');
|
||||
expect(f.style.top).toBe('-80px');
|
||||
expect(f.style.height).toBe('720px');
|
||||
expect(f.style.height).toBe('3000px');
|
||||
expect(f.style.transform).toBe('scale(0.8)');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user