diff --git a/apps/block_scout_web/assets/css/components/_dropdown.scss b/apps/block_scout_web/assets/css/components/_dropdown.scss index 6689060bf3..dde3b835fb 100644 --- a/apps/block_scout_web/assets/css/components/_dropdown.scss +++ b/apps/block_scout_web/assets/css/components/_dropdown.scss @@ -10,6 +10,17 @@ left: auto; 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 { @@ -19,6 +30,16 @@ &:hover { 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 {