mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
inline-flex and width: 100% for stacked/vertical variation
shoutout to @Starsam80 for the fix
This commit is contained in:
parent
5d0ec572d4
commit
d2479cf5f0
@ -149,14 +149,14 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.btn-group-vertical {
|
.btn-group-vertical {
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.btn,
|
.btn,
|
||||||
.btn-group {
|
.btn-group {
|
||||||
flex: 0 1 auto;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .btn + .btn,
|
> .btn + .btn,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user