Skip to content

Commit

Permalink
feat: Add Application properties components - MEED-7130 - Meeds-io/MI…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored and SaraBoutej committed Aug 29, 2024
1 parent 8a4afb7 commit 878251c
Show file tree
Hide file tree
Showing 9 changed files with 542 additions and 307 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ layout.top=Top
layout.right=Right
layout.bottom=Bottom
layout.left=Left
layout.borderColor=Border
layout.color=Color
layout.border=Border
layout.borderColor=Color
layout.borderSize=Size
layout.boxShadow=Shadow
layout.borderRadius=Radius
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export function getStyle(container, options) {
style['--appWidthScroll'] = 'hidden';
}
}

if (container.width === 'fullWindow') {
style['--allPagesSinglePageApplicationWidth'] = 'calc(100% - 40px)';
style['--allPagesSinglePageApplicationPadding'] = '0';
Expand All @@ -91,7 +90,6 @@ export function getStyle(container, options) {
style['--appWidthScroll'] = 'auto';
}
}

if (container.borderColor) {
style[options.isApplicationStyle && '--appBorderColor' || 'border-color'] = container.borderColor;
}
Expand Down
Loading

0 comments on commit 878251c

Please sign in to comment.