mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-28 20:18:26 +00:00
Desktop, Mobile: Editor: Ensure checkbox size is proportional to font size
This commit is contained in:
1 parent
89884e941e
commit
c6cc90a509
1 file changed
+4
@@ -68,6 +68,10 @@ const replaceCheckboxes = [
|
||||
EditorView.theme({
|
||||
[`& .${checkboxClassName}`]: {
|
||||
'& > input': {
|
||||
// Native inputs don't inherit font-size, so `em` units below
|
||||
// would otherwise resolve against the UA default rather than
|
||||
// the editor's font size.
|
||||
fontSize: 'inherit',
|
||||
width: '1.1em',
|
||||
height: '1.1em',
|
||||
margin: '4px',
|
||||
|
||||
Reference in new issue
Block a user