Skip to content

Commit 26455fc

Browse files
olzzonrjmunro
authored andcommitted
fix: VirtualElement use segment styling on placehodlers
1 parent f251cd4 commit 26455fc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/webui/src/client/lib/VirtualElement.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ export function VirtualElement({
8181
() => ({
8282
width: width ?? 'auto',
8383
height: ((placeholderHeight || ref?.clientHeight) ?? '0') + 'px',
84-
marginTop: 0,
85-
marginLeft: 0,
86-
marginRight: 0,
87-
marginBottom: 0,
8884
// These properties are used to ensure that if a prior element is changed from
8985
// placeHolder to element, the position of visible elements are not affected.
9086
contentVisibility: 'auto',

0 commit comments

Comments
 (0)