mirror of https://github.com/laurent22/joplin.git
Desktop: Fixed note toolbar layout
parent
f5aec137bd
commit
c3a1e7c6e9
|
@ -18,10 +18,13 @@ export default function styles(props: NoteTextProps) {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
display: 'inline-block',
|
display: 'inline-block',
|
||||||
paddingTop: 5,
|
paddingTop: 5,
|
||||||
|
minHeight: 35,
|
||||||
|
boxSizing: 'border-box',
|
||||||
paddingBottom: 5,
|
paddingBottom: 5,
|
||||||
paddingLeft: 8,
|
paddingLeft: 8,
|
||||||
paddingRight: 8,
|
paddingRight: 8,
|
||||||
marginRight: theme.paddingLeft,
|
marginLeft: 5,
|
||||||
|
// marginRight: theme.paddingLeft,
|
||||||
color: theme.textStyle.color,
|
color: theme.textStyle.color,
|
||||||
fontSize: theme.textStyle.fontSize * 1.25,
|
fontSize: theme.textStyle.fontSize * 1.25,
|
||||||
backgroundColor: theme.backgroundColor,
|
backgroundColor: theme.backgroundColor,
|
||||||
|
|
|
@ -102,7 +102,7 @@ function addExtraStyles(style) {
|
||||||
|
|
||||||
style.toolbarStyle = {
|
style.toolbarStyle = {
|
||||||
height: style.toolbarHeight,
|
height: style.toolbarHeight,
|
||||||
// minWidth: style.toolbarHeight,
|
minWidth: style.toolbarHeight,
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
paddingLeft: style.headerButtonHPadding,
|
paddingLeft: style.headerButtonHPadding,
|
||||||
|
|
Loading…
Reference in New Issue