@agorapulse/ui-theme 20.1.11 → 20.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,12 +11,10 @@ $cell-height-small: 40px;
11
11
 
12
12
  .ap-table {
13
13
  // Layout
14
- display: block;
15
14
  height: 100%;
16
15
  width: 100%;
17
16
  min-height: 100%;
18
17
  overflow-x: auto;
19
- table-layout: fixed;
20
18
 
21
19
  // Visual styles
22
20
  font-family: Averta;
@@ -29,14 +27,7 @@ $cell-height-small: 40px;
29
27
  // Table Structure
30
28
  // ========================================================================
31
29
 
32
- thead {
33
- display: table;
34
- width: 100%;
35
- table-layout: fixed;
36
- }
37
-
38
30
  tbody {
39
- display: block;
40
31
  height: calc(100% - $cell-height);
41
32
  max-height: calc(100% - $cell-height);
42
33
  width: 100%;
@@ -50,18 +41,6 @@ $cell-height-small: 40px;
50
41
  max-height: calc(100% - 2 * $cell-height);
51
42
  }
52
43
 
53
- tbody tr {
54
- display: table;
55
- width: 100%;
56
- table-layout: fixed;
57
- }
58
-
59
- tfoot {
60
- display: table;
61
- width: 100%;
62
- table-layout: fixed;
63
- }
64
-
65
44
  tr[cdk-row] {
66
45
  background-color: var(--ref-color-white);
67
46
 
@@ -88,6 +67,23 @@ $cell-height-small: 40px;
88
67
  // Table Modifiers
89
68
  // ========================================================================
90
69
 
70
+ &.ap-table-scrollable {
71
+ display: block;
72
+ table-layout: fixed;
73
+
74
+ tbody {
75
+ display: block;
76
+ }
77
+
78
+ thead,
79
+ tbody tr,
80
+ tfoot {
81
+ display: table;
82
+ width: 100%;
83
+ table-layout: fixed;
84
+ }
85
+ }
86
+
91
87
  &.ap-table--outer-border {
92
88
  border: 1px solid var(--ref-color-grey-20);
93
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "20.1.11",
3
+ "version": "20.1.12",
4
4
  "description": "Agorapulse UI Theme Library",
5
5
  "repository": {
6
6
  "type": "git",