fix: header button border (#887)
This commit is contained in:
@@ -101,7 +101,7 @@ export const ChangeEditorButton: FunctionComponent<Props> = observer(
|
|||||||
}}
|
}}
|
||||||
onBlur={closeOnBlur}
|
onBlur={closeOnBlur}
|
||||||
ref={buttonRef}
|
ref={buttonRef}
|
||||||
className="sn-icon-button"
|
className="sn-icon-button border-contrast"
|
||||||
>
|
>
|
||||||
<VisuallyHidden>Change editor</VisuallyHidden>
|
<VisuallyHidden>Change editor</VisuallyHidden>
|
||||||
<Icon type="dashboard" className="block" />
|
<Icon type="dashboard" className="block" />
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export const NotesOptionsPanel = observer(
|
|||||||
}}
|
}}
|
||||||
onBlur={closeOnBlur}
|
onBlur={closeOnBlur}
|
||||||
ref={buttonRef}
|
ref={buttonRef}
|
||||||
className="sn-icon-button"
|
className="sn-icon-button border-contrast"
|
||||||
>
|
>
|
||||||
<VisuallyHidden>Actions</VisuallyHidden>
|
<VisuallyHidden>Actions</VisuallyHidden>
|
||||||
<Icon type="more" className="block" />
|
<Icon type="more" className="block" />
|
||||||
|
|||||||
@@ -28,7 +28,9 @@ export const PinNoteButton: FunctionComponent<Props> = observer(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
className={`sn-icon-button ${pinned ? 'toggled' : ''} ${className}`}
|
className={`sn-icon-button border-contrast ${
|
||||||
|
pinned ? 'toggled' : ''
|
||||||
|
} ${className}`}
|
||||||
onClick={togglePinned}
|
onClick={togglePinned}
|
||||||
>
|
>
|
||||||
<VisuallyHidden>Pin selected notes</VisuallyHidden>
|
<VisuallyHidden>Pin selected notes</VisuallyHidden>
|
||||||
|
|||||||
@@ -950,3 +950,7 @@
|
|||||||
.text-editor {
|
.text-editor {
|
||||||
font-size: var(--sn-stylekit-font-size-editor);
|
font-size: var(--sn-stylekit-font-size-editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sn-component .border-contrast {
|
||||||
|
border-color: var(--sn-stylekit-contrast-border-color);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user