Styling fixes for universal listings (#11608)

pull/11610/head
Thibaud Colas 2024-02-07 10:44:56 +00:00 zatwierdzone przez GitHub
rodzic 5b91a982cf
commit fc3f945781
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 10 dodań i 3 usunięć

Wyświetl plik

@ -34,7 +34,7 @@
.w-drilldown__submenu {
display: grid;
grid-template-columns: min-content 1fr;
padding-inline-end: theme('spacing.[2.5]');
padding-inline-end: theme('spacing.4');
}
.w-drilldown .w-drilldown__back {
@ -46,6 +46,7 @@
.icon {
pointer-events: none;
margin-inline-end: 0;
opacity: 1;
}
&:hover {
@ -65,6 +66,8 @@
// and reduce the default margin-bottom.
margin-top: theme('spacing.2');
margin-bottom: theme('spacing.2');
// Force fields to stay within the width of the drilldown.
max-width: calc(260px - theme('spacing.4'));
}
.w-drilldown__submenu .w-field__label {
@ -76,7 +79,7 @@
$badge-size: theme('spacing.4');
width: $badge-size;
height: $badge-size;
line-height: $badge-size;
line-height: 1.5;
text-align: center;
font-size: 0.5625rem;
font-weight: theme('fontWeight.bold');

Wyświetl plik

@ -38,6 +38,10 @@
width: theme('fontSize.16');
height: theme('fontSize.16');
}
&:hover {
border-color: theme('colors.border-field-hover');
}
}
.w-active-filters {

Wyświetl plik

@ -688,7 +688,7 @@ table.listing {
.w-title-ellipsis {
display: inline-block;
vertical-align: middle;
vertical-align: bottom;
max-width: 20ch;
overflow-x: hidden;
text-overflow: ellipsis;