(fix) dropdown position

pull/1704/head
Gabriel Rodriguez Alsina 6 years ago
parent c4ed91cb63
commit 8e01d9b9f8
  1. 21
      apps/block_scout_web/assets/css/components/_dropdown.scss

@ -10,6 +10,17 @@
left: auto; left: auto;
right: 0; right: 0;
} }
.nav-item & {
border-top-left-radius: 0!important;
border-top-right-radius: 0!important;
top: 45px;
.dropdown-item:first-child {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
} }
.dropdown-item { .dropdown-item {
@ -19,6 +30,16 @@
&:hover { &:hover {
color: #fff; color: #fff;
} }
&:first-child {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
&:last-child {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
} }
.dropdown-search-icon { .dropdown-search-icon {

Loading…
Cancel
Save