fix border left coming in viewer

This commit is contained in:
Nakul Nagargade 2024-11-12 16:25:55 +05:30
parent 41c841678f
commit 72860f1833

View file

@ -69,7 +69,7 @@ export const AppCanvas = ({ moduleId, appId, isViewerSidebarPinned }) => {
)}
style={{
// transform: `scale(1)`,
borderLeft: editorMarginLeft + 'px solid',
borderLeft: currentMode === 'edit' && editorMarginLeft + 'px solid',
height: currentMode === 'edit' ? canvasContainerHeight : '100%',
backgroundColor: canvasBgColor,
// background: !isAppDarkMode ? '#EBEBEF' : '#2E3035',