1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-23 18:53:36 +02:00

Desktop: Improve appearance of note Info dialog

This commit is contained in:
Laurent Cozic 2020-01-23 20:18:21 +00:00
parent 6563606799
commit cbf7f03bff

View File

@ -117,6 +117,9 @@ class NotePropertiesDialog extends React.Component {
this.styles_.controlBox = {
marginBottom: '1em',
color: 'black', // This will apply for the calendar
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
};
this.styles_.button = {
@ -133,8 +136,11 @@ class NotePropertiesDialog extends React.Component {
color: theme.color,
textDecoration: 'none',
backgroundColor: theme.backgroundColor,
border: '1px solid',
borderColor: theme.dividerColor,
padding: '.14em',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
marginLeft: '0.5em',
};
this.styles_.input = {
@ -323,7 +329,7 @@ class NotePropertiesDialog extends React.Component {
if (editCompHandler) {
editComp = (
<a href="#" onClick={editCompHandler} style={styles.editPropertyButton}>
<i className={`fa ${editCompIcon}`} aria-hidden="true" style={{ marginLeft: '.5em' }}></i>
<i className={`fa ${editCompIcon}`} aria-hidden="true"></i>
</a>
);
}