@madie/madie-design-system 1.2.62 → 1.2.63

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madie/madie-design-system",
3
- "version": "1.2.62",
3
+ "version": "1.2.63",
4
4
  "description": "Shared style guide across the Madie program.",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://github.com/MeasureAuthoringTool/madie-design-system",
@@ -188,14 +188,47 @@
188
188
  }
189
189
  }
190
190
  }
191
-
192
- table {
193
- border: solid 1px #000;
194
- tr {
195
- border: solid 1px #000;
196
- td {
197
- border: solid 1px #000;
198
- }
199
- }
200
- }
191
+ /* Table-specific styling */
192
+ table {
193
+ border-collapse: collapse;
194
+ margin: 0;
195
+ overflow: hidden;
196
+ table-layout: fixed;
197
+ width: 100%;
198
+
199
+ td,
200
+ th {
201
+ border: 1px solid #9c9c9c;
202
+ box-sizing: border-box;
203
+ min-width: 1em;
204
+ padding: 6px 8px;
205
+ position: relative;
206
+ vertical-align: top;
207
+
208
+ > * {
209
+ margin-bottom: 0;
210
+ }
211
+ }
212
+
213
+ th {
214
+ background-color: #3d25140d;
215
+ font-weight: bold;
216
+ text-align: left;
217
+ }
218
+
219
+ .column-resize-handle {
220
+ background-color: #209fa6;
221
+ bottom: -2px;
222
+ pointer-events: none;
223
+ position: absolute;
224
+ right: -2px;
225
+ top: 0;
226
+ width: 4px;
227
+ }
228
+ }
229
+
230
+ .tableWrapper {
231
+ margin: 1.5rem 0;
232
+ overflow-x: auto;
233
+ }
201
234
  }
@@ -189,13 +189,47 @@
189
189
  }
190
190
  }
191
191
 
192
+ /* Table-specific styling */
192
193
  table {
193
- border: solid 1px #000;
194
- tr {
195
- border: solid 1px #000;
196
- td {
197
- border: solid 1px #000;
194
+ border-collapse: collapse;
195
+ margin: 0;
196
+ overflow: hidden;
197
+ table-layout: fixed;
198
+ width: 100%;
199
+
200
+ td,
201
+ th {
202
+ border: 1px solid #9c9c9c;
203
+ box-sizing: border-box;
204
+ min-width: 1em;
205
+ padding: 6px 8px;
206
+ position: relative;
207
+ vertical-align: top;
208
+
209
+ > * {
210
+ margin-bottom: 0;
198
211
  }
199
212
  }
213
+
214
+ th {
215
+ background-color: #3d25140d;
216
+ font-weight: bold;
217
+ text-align: left;
218
+ }
219
+
220
+ .column-resize-handle {
221
+ background-color: #209fa6;
222
+ bottom: -2px;
223
+ pointer-events: none;
224
+ position: absolute;
225
+ right: -2px;
226
+ top: 0;
227
+ width: 4px;
228
+ }
229
+ }
230
+
231
+ .tableWrapper {
232
+ margin: 1.5rem 0;
233
+ overflow-x: auto;
200
234
  }
201
235
  }