fix: header button border (#887)

This commit is contained in:
Aman Harwara
2022-02-18 20:48:04 +05:30
committed by GitHub
parent 1e80a40a6c
commit 96bfd6efc2
4 changed files with 9 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ export const ChangeEditorButton: FunctionComponent<Props> = observer(
}}
onBlur={closeOnBlur}
ref={buttonRef}
className="sn-icon-button"
className="sn-icon-button border-contrast"
>
<VisuallyHidden>Change editor</VisuallyHidden>
<Icon type="dashboard" className="block" />

View File

@@ -69,7 +69,7 @@ export const NotesOptionsPanel = observer(
}}
onBlur={closeOnBlur}
ref={buttonRef}
className="sn-icon-button"
className="sn-icon-button border-contrast"
>
<VisuallyHidden>Actions</VisuallyHidden>
<Icon type="more" className="block" />

View File

@@ -28,7 +28,9 @@ export const PinNoteButton: FunctionComponent<Props> = observer(
return (
<button
className={`sn-icon-button ${pinned ? 'toggled' : ''} ${className}`}
className={`sn-icon-button border-contrast ${
pinned ? 'toggled' : ''
} ${className}`}
onClick={togglePinned}
>
<VisuallyHidden>Pin selected notes</VisuallyHidden>

View File

@@ -950,3 +950,7 @@
.text-editor {
font-size: var(--sn-stylekit-font-size-editor);
}
.sn-component .border-contrast {
border-color: var(--sn-stylekit-contrast-border-color);
}