1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Fixed note toolbar layout

This commit is contained in:
Laurent Cozic 2020-05-04 00:14:28 +00:00
parent f5aec137bd
commit c3a1e7c6e9
2 changed files with 5 additions and 2 deletions

View File

@ -18,10 +18,13 @@ export default function styles(props: NoteTextProps) {
flex: 1,
display: 'inline-block',
paddingTop: 5,
minHeight: 35,
boxSizing: 'border-box',
paddingBottom: 5,
paddingLeft: 8,
paddingRight: 8,
marginRight: theme.paddingLeft,
marginLeft: 5,
// marginRight: theme.paddingLeft,
color: theme.textStyle.color,
fontSize: theme.textStyle.fontSize * 1.25,
backgroundColor: theme.backgroundColor,

View File

@ -102,7 +102,7 @@ function addExtraStyles(style) {
style.toolbarStyle = {
height: style.toolbarHeight,
// minWidth: style.toolbarHeight,
minWidth: style.toolbarHeight,
display: 'flex',
alignItems: 'center',
paddingLeft: style.headerButtonHPadding,