Skip to content

Commit 64412b8

Browse files
author
Andrew Shaydurov
committed
fix: title_bar makeup - only direct child link gets rounded borders
1 parent 128379b commit 64412b8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

app/assets/stylesheets/active_admin/structure/_title_bar.scss

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@
2929
}
3030

3131
.action_items {
32-
a {
33-
@include light-button;
34-
padding: 12px 17px 10px;
35-
span.icon { vertical-align: bottom; margin-right: 4px;}
36-
margin: 0px;
32+
span.action_item {
33+
& > a, & > .dropdown_menu > a {
34+
@include light-button;
35+
padding: 12px 17px 10px;
36+
span.icon { vertical-align: bottom; margin-right: 4px;}
37+
margin: 0px;
3738

38-
&:hover{
39-
@include icon-color(#000);
39+
&:hover{
40+
@include icon-color(#000);
41+
}
4042
}
4143
}
4244
}

0 commit comments

Comments
 (0)