Desktop: Fixed note toolbar layout

pull/3164/head
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, 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,

View File

@ -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,