mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Introduce layout fixes and use dedicated buttons for the view source and navigate actions.
40 lines
580 B
SCSS
40 lines
580 B
SCSS
/* Global table styles */
|
|
@use '@angular/material' as mat;
|
|
@use './typography';
|
|
|
|
table[mat-table],
|
|
table.ng-table {
|
|
width: 100%;
|
|
|
|
tr {
|
|
th {
|
|
@extend %body-bold-01;
|
|
margin: 0;
|
|
}
|
|
|
|
td {
|
|
@extend %body-01;
|
|
}
|
|
}
|
|
}
|
|
|
|
table[mat-table] {
|
|
@include mat.table-overrides(
|
|
(
|
|
row-item-label-text-size: 0.8rem,
|
|
)
|
|
);
|
|
}
|
|
|
|
table.ng-table {
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
|
|
th,
|
|
td {
|
|
border-bottom: 1px solid var(--senary-contrast);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding: 0.625rem 0.375rem;
|
|
}
|
|
}
|