gh-14045: Fixed sidebar notifications overflowing text (gh-14047)

This commit is contained in:
mr. m
2026-06-06 17:34:43 +02:00
committed by GitHub
parent 880d61df16
commit e7e4c5a452
2 changed files with 8 additions and 2 deletions

View File

@@ -27,7 +27,7 @@
display: flex;
position: relative;
flex: 1;
padding: 8px;
padding: 16px;
border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
@@ -38,6 +38,12 @@
white-space: nowrap;
font-weight: 500;
flex: 1;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
width: calc(100% - 40px);
padding: 0 16px;
}
.zen-sidebar-notification-close-button {

View File

@@ -955,7 +955,7 @@ class nsZenWorkspaces {
}
gZenEmojiPicker.open(anchor, {
closeOnSelect: false,
allowNone: hasNoIcon,
allowNone: !hasNoIcon,
onSelect: async icon => {
const workspace = this.getWorkspaceFromId(workspaceId);
if (!workspace) {