diff --git a/ui/src/components/mini-metric/view.js b/ui/src/components/mini-metric/view.js index f0d13005..684e1615 100644 --- a/ui/src/components/mini-metric/view.js +++ b/ui/src/components/mini-metric/view.js @@ -15,15 +15,20 @@ const { default: styled } = Styled; +const border = (props) => !props.borderless + ? `solid ${remcalc(1)} ${colors.borderSecondary}` + : 'none'; + const Container = styled.div` position: relative; height: 100%; width: 100%; background-color: ${colors.miniBackground}; - border: solid ${remcalc(1)} ${colors.borderSecondary}; + border: ${border}; `; const Shadow = styled.div` + z-index: 1; position: absolute; height: 100%; width: ${remcalc(9)};