refactor(SW-1877): a bit of cleanup of code to maintain patterns and separate components and types

This commit is contained in:
Christian Andolf
2025-03-31 11:47:53 +02:00
parent 52b461fbb4
commit 19723856c3
6 changed files with 91 additions and 79 deletions

View File

@@ -27,6 +27,12 @@
padding-inline-start: 0;
}
.list .listItem:last-of-type {
flex: 1;
max-width: 100%;
min-width: 0;
}
.listItem {
align-items: center;
display: flex;
@@ -43,19 +49,6 @@
flex-shrink: 0;
}
.last {
flex: 1;
max-width: 100%;
min-width: 0;
}
.last > button {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.button {
border: none;
background: transparent;
@@ -103,6 +96,13 @@
}
}
.tooltipTrigger {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.tooltip {
background-color: var(--Surface-UI-Fill-Intense);
padding: var(--Spacing-x-half) var(--Spacing-x1);