Browse Source

fix(activity-header): increase menu item hitboxes

renovate/lint-staged-8.x
Data Courier 7 years ago
parent
commit
0e29ebb1a9
  1. 15
      app/routes/activity/components/Activity.scss

15
app/routes/activity/components/Activity.scss

@ -49,11 +49,9 @@
li { li {
position: relative; position: relative;
margin: 0 15px;
opacity: 0.5; opacity: 0.5;
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
padding: 20px 0;
&.activeFilter { &.activeFilter {
opacity: 1; opacity: 1;
@ -62,10 +60,19 @@
&:nth-child(1) { &:nth-child(1) {
margin-left: 0; margin-left: 0;
} }
span {
display: block;
position: relative;
margin: 0 15px;
padding: 20px 0;
}
} }
.activeBorder { .activeBorder {
width: 100%; left: 15px;
right: 15px;
width: auto;
height: 1px; height: 1px;
background: white; background: white;
position: absolute; position: absolute;
@ -117,4 +124,4 @@
.right { .right {
text-align: right; text-align: right;
} }
} }

Loading…
Cancel
Save