mirror of
https://github.com/primer/css.git
synced 2024-12-29 00:58:31 +03:00
Merge pull request #76 from primer/btn_arrow
Nuke the margins and floats on the right arrow in buttons
This commit is contained in:
commit
8bef52e969
@ -176,23 +176,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Octicon buttons
|
|
||||||
//
|
|
||||||
// Improve alignment of Octicons within buttons and minibuttons. Also auto tweak
|
|
||||||
// the right arrow to float right for ease of use.
|
|
||||||
.btn {
|
|
||||||
> .octicon-arrow-right {
|
|
||||||
float: right;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Required because we nuke the padding on minibuttons
|
|
||||||
.btn-sm > .octicon-arrow-right {
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Minibutton overrides
|
// Minibutton overrides
|
||||||
//
|
//
|
||||||
// Tweak `line-height` to make them smaller.
|
// Tweak `line-height` to make them smaller.
|
||||||
|
Loading…
Reference in New Issue
Block a user