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