Merge branch 'master' into dependabot/npm_and_yarn/examples/nextjs-api-sales/braces-3.0.3

This commit is contained in:
Michael Drury 2024-06-14 13:31:17 +01:00 committed by GitHub
commit 311c0ed6c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 26 additions and 1 deletions

View File

@ -70,7 +70,7 @@
<input
class="input"
value={title}
{title}
title={componentName}
placeholder={componentName}
on:keypress={e => {
if (e.key.toLowerCase() === "enter") {
@ -158,7 +158,32 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
padding: 5px;
right: 6px;
border: 1px solid transparent;
border-radius: 3px;
transition: 150ms background-color, 150ms border-color, 150ms color;
}
.input:hover,
.input:focus {
cursor: text;
background-color: var(
--spectrum-textfield-m-background-color,
var(--spectrum-global-color-gray-50)
);
border: 1px solid white;
border-color: var(
--spectrum-textfield-m-border-color,
var(--spectrum-alias-border-color)
);
color: var(
--spectrum-textfield-m-text-color,
var(--spectrum-alias-text-color)
);
}
.panel-title-content {
display: contents;
}