vendor/assets/stylesheets/spectre/_menus.scss in spectre_scss-0.5.7.0 vs vendor/assets/stylesheets/spectre/_menus.scss in spectre_scss-0.5.8.0

- old
+ new

@@ -16,12 +16,12 @@ } .menu-item { margin-top: 0; padding: 0 $unit-2; + position: relative; text-decoration: none; - user-select: none; & > a { border-radius: $border-radius; color: inherit; display: block; @@ -50,13 +50,17 @@ margin-top: $unit-1; } } .menu-badge { - float: right; - padding: $unit-1 0; + align-items: center; + display: flex; + height: 100%; + position: absolute; + right: 0; + top: 0; - .btn { - margin-top: -$unit-h; + .label { + margin-right: $unit-2; } } -} +} \ No newline at end of file