diff --git a/browser/main/Detail/InfoPanel.styl b/browser/main/Detail/InfoPanel.styl index 8fec12f2..62ec529e 100644 --- a/browser/main/Detail/InfoPanel.styl +++ b/browser/main/Detail/InfoPanel.styl @@ -33,12 +33,13 @@ .control-infoButton-panel-trash z-index 200 margin-top 45px - margin-left -230px + margin-left -190px position absolute - padding 20px 20px 0 20px - width 320px + padding 20px 25px 0 25px + width 300px background-color $ui-noteList-backgroundColor - border 1px solid $border-color + box-shadow 2px 12px 15px 2px rgba(0, 0, 0, 0.1), 2px 1px 50px 2px rgba(0, 0, 0, 0.1) + border-radius 2px .count-wrap display flex @@ -124,11 +125,9 @@ body[data-theme="dark"] .control-infoButton-panel background-color $ui-dark-noteList-backgroundColor - border 1px solid alpha($ui-dark-borderColor, 40%) .control-infoButton-panel-trash background-color $ui-dark-noteList-backgroundColor - border 1px solid $ui-dark-borderColor .modification-date color $ui-dark-text-color diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index cfe8c4cb..c5d6b4b4 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -488,24 +488,24 @@ class NoteList extends React.Component { if (note.isTrashed !== true || location.pathname === '/trashed') return true }) - moment.locale('en', { - relativeTime: { - future: 'in %s', - past: '%s ago', - s: '%ds', - ss: '%ss', - m: '1m', - mm: '%dm', - h: 'an hour', - hh: '%dh', - d: '1 d', - dd: '%dd', - M: 'a month', - MM: '%dM', - y: 'a year', - yy: '%dY' - } - }); + moment.locale('en', { + relativeTime: { + future: 'in %s', + past: '%s ago', + s: '%ds', + ss: '%ss', + m: '1m', + mm: '%dm', + h: 'an hour', + hh: '%dh', + d: '1d', + dd: '%dd', + M: '1M', + MM: '%dM', + y: '1Y', + yy: '%dY' + } + }) let noteList = notes .map(note => {