Skip to content

Commit 0f32d40

Browse files
authored
refactor(table): move styles to base theme (#166)
1 parent 2883d89 commit 0f32d40

File tree

3 files changed

+18
-34
lines changed

3 files changed

+18
-34
lines changed

packages/main/src/themes/base/TableColumn.less

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,20 @@ ui5-table-column {
1515
display: inline-block;
1616
width: 100%;
1717
height: 100%;
18+
}
19+
20+
.sapWCTableColumn {
21+
padding: 0.25rem;
22+
font-family: @sapUiFontFamily;
23+
font-size: 0.875rem;
24+
height: 100%;
25+
box-sizing: border-box;
26+
}
27+
28+
.sapWCTableColumnFirst {
29+
padding-left: 1rem;
30+
}
31+
32+
.sapWCTableColumnLast {
33+
padding-right: 1rem;
1834
}

packages/main/src/themes/sap_belize/TableColumn.less

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,4 @@
77
/* Global Belize parameters */
88
/* ============================= */
99
@import "./base.less";
10-
@import "./global.less";
11-
12-
.sapWCTableColumn {
13-
padding: 0.25rem;
14-
font-family: @sapUiFontFamily;
15-
font-size: 0.875rem;
16-
height: 100%;
17-
box-sizing: border-box;
18-
}
19-
20-
.sapWCTableColumnFirst {
21-
padding-left: 1rem;
22-
}
23-
24-
.sapWCTableColumnLast {
25-
padding-right: 1rem;
26-
}
10+
@import "./global.less";

packages/main/src/themes/sap_fiori_3/TableColumn.less

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,4 @@
77
/* Global Belize parameters */
88
/* ============================= */
99
@import "./base.less";
10-
@import "./global.less";
11-
12-
.sapWCTableColumn {
13-
padding: 0.25rem;
14-
font-family: @sapUiFontFamily;
15-
font-size: 0.875rem;
16-
height: 100%;
17-
box-sizing: border-box;
18-
}
19-
20-
.sapWCTableColumnFirst {
21-
padding-left: 1rem;
22-
}
23-
24-
.sapWCTableColumnLast {
25-
padding-right: 1rem;
26-
}
10+
@import "./global.less";

0 commit comments

Comments
 (0)