fix(ui): prevent filename and diff count overlap in session changes (#14773)
This commit is contained in:
@@ -99,6 +99,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -115,9 +116,12 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-slot="session-review-directory"] {
|
[data-slot="session-review-directory"] {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-width: 0;
|
||||||
color: var(--text-base);
|
color: var(--text-base);
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -129,6 +133,11 @@
|
|||||||
[data-slot="session-review-filename"] {
|
[data-slot="session-review-filename"] {
|
||||||
color: var(--text-strong);
|
color: var(--text-strong);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-slot="session-review-view-button"] {
|
[data-slot="session-review-view-button"] {
|
||||||
@@ -163,6 +172,7 @@
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-slot="session-review-diff-chevron"] {
|
[data-slot="session-review-diff-chevron"] {
|
||||||
|
|||||||
Reference in New Issue
Block a user