Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(component): show element pane border
Browse files Browse the repository at this point in the history
  • Loading branch information
tilmx authored and marionebl committed May 5, 2018
1 parent ff975d6 commit fa85f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lsg/patterns/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ const StyledLayout = styled.div`
border-style: solid;
border-color: ${colors.black.toString('rgb', { alpha: 0.1 })};
border-right-width: ${props =>
props.side === LayoutSide.Right && props.border === LayoutBorder.Side ? 1 : 0}px;
props.side === LayoutSide.Left && props.border === LayoutBorder.Side ? 1 : 0}px;
border-left-width: ${props =>
props.side === LayoutSide.Right && props.border === LayoutBorder.Side ? 1 : 0}px;
@media screen and (-webkit-min-device-pixel-ratio: 2) {
border-right-width: ${props =>
props.side === LayoutSide.Right && props.border === LayoutBorder.Side ? 0.5 : 0}px;
props.side === LayoutSide.Left && props.border === LayoutBorder.Side ? 0.5 : 0}px;
border-left-width: ${props =>
props.side === LayoutSide.Right && props.border === LayoutBorder.Side ? 0.5 : 0}px;
}
Expand Down

0 comments on commit fa85f72

Please sign in to comment.