mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 17:22:48 -05:00
Fixing model view editor to layout currenty with native and custom settings (#5650)
This commit is contained in:
@@ -85,7 +85,7 @@ export class ModelViewEditor extends BaseEditor {
|
||||
const containerRect = modelViewContainer.parentElement.getBoundingClientRect();
|
||||
|
||||
modelViewContainer.style.position = 'absolute';
|
||||
modelViewContainer.style.top = `${frameRect.top}px`;
|
||||
modelViewContainer.style.top = `${frameRect.top - containerRect.top}px`;
|
||||
modelViewContainer.style.left = `${frameRect.left - containerRect.left}px`;
|
||||
modelViewContainer.style.width = `${frameRect.width}px`;
|
||||
modelViewContainer.style.height = `${frameRect.height}px`;
|
||||
|
||||
Reference in New Issue
Block a user