@inchurch/matcha-theme 22.5.1 → 22.5.2
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/components/matcha-table.scss +4 -12
- package/package.json +1 -1
|
@@ -294,21 +294,13 @@
|
|
|
294
294
|
&.col-id { width: var(--matcha-table-col-id-width); }
|
|
295
295
|
&.col-narrow { width: var(--matcha-table-col-narrow-width); }
|
|
296
296
|
&.col-medium { width: var(--matcha-table-col-medium-width); }
|
|
297
|
-
// Actions / icon-buttons —
|
|
298
|
-
// Children inline
|
|
299
|
-
//
|
|
297
|
+
// Actions / icon-buttons — pinada em --matcha-table-col-actions-width (80px).
|
|
298
|
+
// Children inline-flex, centralizados (título "Ações" no header também
|
|
299
|
+
// centraliza — text-align: center vale pro conteúdo das duas linhas).
|
|
300
300
|
//
|
|
301
301
|
// Importante: `.matcha-button` tem `display: flex` (block-level) que faria
|
|
302
302
|
// os icon-buttons empilharem verticalmente. Override via selector descendant
|
|
303
303
|
// com specificity maior pra forçar inline-flex no contexto de actions cell.
|
|
304
|
-
//
|
|
305
|
-
// Padding-right ZERO no body — icon-button já tem click target padding
|
|
306
|
-
// interno; somar padding ao td empurraria os botões pra ESQUERDA do edge
|
|
307
|
-
// do header "Ações". Alinhamento perfeito: button box-right = cell-right.
|
|
308
|
-
// Actions / icon-buttons — shrink-to-content (1% truque de table layout).
|
|
309
|
-
// Children inline horizontal LEFT-aligned (header text "Ações" alinha
|
|
310
|
-
// naturalmente acima do primeiro ícone). Padding uniforme L/R com resto
|
|
311
|
-
// da table.
|
|
312
304
|
&.col-actions {
|
|
313
305
|
width: var(--matcha-table-col-actions-width);
|
|
314
306
|
// min-width base da tbody td/thead th é 120px (--matcha-table-cell-min-width)
|
|
@@ -316,7 +308,7 @@
|
|
|
316
308
|
// model. Sem este override, a coluna ficava presa em 120px (achado real).
|
|
317
309
|
min-width: var(--matcha-table-col-actions-width);
|
|
318
310
|
white-space: nowrap;
|
|
319
|
-
text-align:
|
|
311
|
+
text-align: center;
|
|
320
312
|
|
|
321
313
|
> .matcha-button,
|
|
322
314
|
> button[matcha-icon-button],
|