Update error label max size and position

This commit is contained in:
Andrew Kingston 2023-04-17 18:29:54 +01:00
parent 208e481bbc
commit 466e11aa57
1 changed files with 3 additions and 2 deletions

View File

@ -134,13 +134,13 @@
bottom: 100%; bottom: 100%;
left: 0; left: 0;
padding: 1px 4px 3px 4px; padding: 1px 4px 3px 4px;
margin: 0 0 -2px 0;
background: var(--user-color); background: var(--user-color);
border-radius: 2px 2px 0 0; border-radius: 2px;
display: block; display: block;
color: white; color: white;
font-size: 12px; font-size: 12px;
font-weight: 600; font-weight: 600;
max-width: 100%;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
@ -151,6 +151,7 @@
top: 100%; top: 100%;
border-radius: 0 2px 2px 2px; border-radius: 0 2px 2px 2px;
padding: 2px 4px 2px 4px; padding: 2px 4px 2px 4px;
margin: -2px 0 0 0;
} }
.error .label { .error .label {
background: var(--spectrum-global-color-red-500); background: var(--spectrum-global-color-red-500);