Skip to content

Commit f0cfe94

Browse files
committed
[design] improve form inline
1 parent 3ea18b1 commit f0cfe94

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

‎src/css/button.css‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ button [class*=" button-"]:last-child,
210210
padding:0.5em0;
211211
position: relative;
212212
width:100%;
213-
display: block;
214-
}
215-
216-
.button-wrap-inline{
217-
width: initial;
218-
display: inline-block;
213+
display: flex;
214+
flex-direction: row;
219215
}

‎src/css/form.css‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,8 @@ input[type="range"]:disabled::-moz-range-progress{
12001200
}
12011201

12021202
.form-inline{
1203+
margin-left:-0.5em;
1204+
margin-right:-0.5em;
12031205
display: flex;
12041206
flex-direction: row;
12051207
justify-content: flex-start;
@@ -1208,7 +1210,8 @@ input[type="range"]:disabled::-moz-range-progress{
12081210
}
12091211

12101212
.form-inline>*{
1211-
margin-right:1em;
1213+
padding-left:0.5em;
1214+
padding-right:0.5em;
12121215
width: initial;
12131216
}
12141217

0 commit comments

Comments
(0)