Skip to content

Commit e225a3d

Browse files
authored
refactor(ui5-toolbar-spacer): move styles to base theme (#177)
1 parent 24a9fd1 commit e225a3d

File tree

3 files changed

+16
-31
lines changed

3 files changed

+16
-31
lines changed
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
/* ============================= */
22
/* Base theme */
3-
/* ============================= */
3+
/* ============================= */
4+
.sapMTBSpacer {
5+
/* should never have padding/margin/border */
6+
margin: 0 !important;
7+
padding: 0 !important;
8+
border: 0 !important;
9+
10+
/* without height chrome ignores the element */
11+
height: 1px;
12+
}
13+
14+
.sapMTBSpacerFlex {
15+
-webkit-flex-grow: 1;
16+
-webkit-box-flex: 1;
17+
flex: auto;
18+
}
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
.sapMTBSpacer {
2-
/* should never have padding/margin/border */
3-
margin: 0 !important;
4-
padding: 0 !important;
5-
border: 0 !important;
6-
7-
/* without height chrome ignores the element */
8-
height: 1px;
9-
}
10-
11-
.sapMTBSpacerFlex {
12-
-webkit-flex-grow: 1;
13-
-webkit-box-flex: 1;
14-
flex: auto;
15-
}
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
.sapMTBSpacer {
2-
/* should never have padding/margin/border */
3-
margin: 0 !important;
4-
padding: 0 !important;
5-
border: 0 !important;
6-
7-
/* without height chrome ignores the element */
8-
height: 1px;
9-
}
10-
11-
.sapMTBSpacerFlex {
12-
-webkit-flex-grow: 1;
13-
-webkit-box-flex: 1;
14-
flex: auto;
15-
}

0 commit comments

Comments
 (0)