Add back thick field focus border (#2160)
* Add back thick field focus border * Fix duplicate border color
This commit is contained in:
parent
d44a99885e
commit
b384417955
@ -113,7 +113,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
.editor-field {
|
||||
overflow: hidden;
|
||||
margin: 0 3px;
|
||||
margin: 1px 3px 0 3px;
|
||||
|
||||
border-radius: 5px;
|
||||
border: 1px solid var(--border);
|
||||
@ -121,7 +121,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
@include elevation(1);
|
||||
|
||||
&:focus-within {
|
||||
border-color: var(--border-focus);
|
||||
/* --focus-color set in NoteEditor.svelte */
|
||||
outline: 2px solid var(--focus-color);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -436,9 +436,9 @@ the AddCards dialog) should be implemented in the user of this component.
|
||||
$hoveredField = null;
|
||||
}}
|
||||
collapsed={fieldsCollapsed[index]}
|
||||
--dupes-color={cols[index] === "dupe"
|
||||
--focus-color={cols[index] === "dupe"
|
||||
? "var(--accent-danger)"
|
||||
: "transparent"}
|
||||
: "var(--border-focus)"}
|
||||
>
|
||||
<svelte:fragment slot="field-label">
|
||||
<LabelContainer
|
||||
|
Loading…
Reference in New Issue
Block a user