Skip to content

Commit e271150

Browse files
committed
Update buttongroup.css
1 parent bb1b0b3 commit e271150

File tree

1 file changed

+41
-9
lines changed

1 file changed

+41
-9
lines changed

assets/css/buttongroup.css

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
.mighty-buttongroup {
2-
text-align: center;
3-
}
4-
5-
.mighty-buttongroup .mt-button {
6-
display: inline;
7-
margin: 10px;
8-
}
9-
101
/* Mobile */
112
@media only screen and (max-width: 767px) {
123
.mighty-buttongroup .stack-on-mobile {
@@ -26,4 +17,45 @@
2617
.mighty-buttongroup .stack-on-desktop {
2718
display: block;
2819
}
20+
}
21+
22+
.mighty-buttongroup a.ma-btn {
23+
display: block;
24+
width: 100%;
25+
}
26+
.mighty-buttongroup, .mighty-buttongroup.mt-btng-align-justify .mt-button{
27+
-webkit-box-align: center;
28+
-webkit-align-items: center;
29+
-moz-box-align: center;
30+
-ms-flex-align: center;
31+
align-items: center;
32+
display: flex;
33+
}
34+
.mighty-buttongroup.mt-btng-align-left {
35+
-webkit-box-pack: start;
36+
-webkit-justify-content: flex-start;
37+
-moz-box-pack: start;
38+
-ms-flex-pack: start;
39+
justify-content: flex-start;
40+
}
41+
.mighty-buttongroup.mt-btng-align-center {
42+
-webkit-box-pack: center;
43+
-webkit-justify-content: center;
44+
-moz-box-pack: center;
45+
-ms-flex-pack: center;
46+
justify-content: center;
47+
}
48+
.mighty-buttongroup.mt-btng-align-right {
49+
-webkit-box-pack: end;
50+
-webkit-justify-content: flex-end;
51+
-moz-box-pack: end;
52+
-ms-flex-pack: end;
53+
justify-content: flex-end;
54+
}
55+
.mighty-buttongroup.mt-btng-align-justify .mt-button {
56+
-webkit-box-flex: 1;
57+
-webkit-flex-grow: 1;
58+
-moz-box-flex: 1;
59+
-ms-flex-positive: 1;
60+
flex-grow: 1;
2961
}

0 commit comments

Comments
 (0)