mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add navbar icon only child
This commit is contained in:
@@ -6494,6 +6494,12 @@ body.has-navbar-fixed-bottom {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.navbar-item .icon:only-child,
|
||||
.navbar-link .icon:only-child {
|
||||
margin-left: -0.25rem;
|
||||
margin-right: -0.25rem;
|
||||
}
|
||||
|
||||
a.navbar-item,
|
||||
.navbar-link {
|
||||
cursor: pointer;
|
||||
|
||||
@@ -153,10 +153,13 @@ body
|
||||
line-height: 1.5
|
||||
padding: 0.5rem 0.75rem
|
||||
position: relative
|
||||
.icon
|
||||
&:only-child
|
||||
margin-left: -0.25rem
|
||||
margin-right: -0.25rem
|
||||
|
||||
a.navbar-item,
|
||||
.navbar-link
|
||||
// background-color: coral
|
||||
cursor: pointer
|
||||
&:hover,
|
||||
&.is-active
|
||||
|
||||
Reference in New Issue
Block a user