This commit is contained in:
Mateusz Gruszczyński
2026-07-29 21:05:31 +02:00
parent 94ae8e52db
commit 9ca055de5f
4 changed files with 15 additions and 12 deletions
+10 -8
View File
@@ -1410,15 +1410,17 @@ dialog::backdrop {
.owner-label {
position: absolute;
right: 8px;
max-width: min(180px, 45%);
right: calc(var(--editor-rendered-font-size, 14px) * .57);
box-sizing: border-box;
max-width: min(calc(var(--editor-rendered-font-size, 14px) * 12.8571), 45%);
max-height: calc(var(--editor-line-height, 29px) - 2px);
overflow: hidden;
padding: 2px 7px;
padding: .14em .5em;
border: 1px solid color-mix(in srgb, var(--owner) 62%, transparent);
border-radius: 999px;
background: color-mix(in srgb, var(--owner) 18%, #0d1015);
color: #eef1f5;
font: 600 10px/1.25 system-ui, sans-serif;
font: 600 calc(var(--editor-rendered-font-size, 14px) * .7143)/1.25 system-ui, sans-serif;
opacity: .82;
text-overflow: ellipsis;
white-space: nowrap;
@@ -4075,10 +4077,10 @@ dialog::backdrop {
/* Multiple authors can contribute to one line. */
.owner-label-group {
position: absolute;
right: 8px;
right: calc(var(--editor-rendered-font-size, 14px) * .57);
display: flex;
max-width: min(420px, 70%);
gap: 4px;
max-width: min(calc(var(--editor-rendered-font-size, 14px) * 30), 70%);
gap: calc(var(--editor-rendered-font-size, 14px) * .2857);
overflow: hidden;
transform: translateY(-50%);
white-space: nowrap;
@@ -4089,7 +4091,7 @@ dialog::backdrop {
right: auto;
flex: 0 1 auto;
min-width: 0;
max-width: 150px;
max-width: calc(var(--editor-rendered-font-size, 14px) * 10.7143);
transform: none;
}