File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
static/app/views/alerts/rules/metric Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -771,6 +771,7 @@ const MonitorSelect = styled('div')`
771
771
width: 100%;
772
772
display: grid;
773
773
grid-template-columns: 1fr 1fr;
774
+ height: 6rem;
774
775
` ;
775
776
776
777
type MonitorCardProps = {
@@ -787,18 +788,22 @@ const MonitorCard = styled('div')<MonitorCardProps>`
787
788
flex-grow: 1;
788
789
flex-direction: column;
789
790
cursor: pointer;
791
+ justify-content: center;
790
792
791
793
&:focus,
792
794
&:hover {
793
795
outline: 1px solid ${ p => p . theme . purple200 } ;
794
796
background-color: ${ p => p . theme . backgroundSecondary } ;
797
+ margin: 0;
795
798
}
796
799
797
800
border-top-left-radius: ${ p => ( p . position === 'left' ? p . theme . borderRadius : 0 ) } ;
798
801
border-bottom-left-radius: ${ p => ( p . position === 'left' ? p . theme . borderRadius : 0 ) } ;
799
802
border-top-right-radius: ${ p => ( p . position !== 'left' ? p . theme . borderRadius : 0 ) } ;
800
803
border-bottom-right-radius: ${ p => ( p . position !== 'left' ? p . theme . borderRadius : 0 ) } ;
801
- outline: ${ p => ( p . isSelected ? `1px solid ${ p . theme . purple400 } ` : 'none' ) } ;
804
+ margin: ${ p =>
805
+ p . isSelected ? ( p . position === 'left' ? '1px 2px 1px 0' : '1px 0 1px 2px' ) : 0 } ;
806
+ outline: ${ p => ( p . isSelected ? `2px solid ${ p . theme . purple400 } ` : 'none' ) } ;
802
807
` ;
803
808
804
809
const ActivatedAlertFields = styled ( 'div' ) `
You can’t perform that action at this time.
0 commit comments