You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
* Adds functionality to display tags under the open note. Towards #469 Signed-off-by: Abijeet <abijeetpatro@gmail.com> * Ensured tags in the dialog box and under the note appear in the same order. Few formatting tweaks. Signed-off-by: Abijeet <abijeetpatro@gmail.com> * Fixes issues raised during code review. Signed-off-by: Abijeet <abijeetpatro@gmail.com> * Refactored code to always display tags in ascending order. This changes the order of the tags in the dialog box and below the tag title. Signed-off-by: Abijeet <abijeetpatro@gmail.com> * Added the new tag height and margin bottom to the bottomRowHeight Fixes #979 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
committed by
Laurent Cozic
parent
7f6ca1e527
commit
7bfc3e1256
@ -1434,9 +1434,10 @@ class NoteTextComponent extends React.Component {
|
|||||||
|
|
||||||
const tagStyle = {
|
const tagStyle = {
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
|
height: 30
|
||||||
};
|
};
|
||||||
|
|
||||||
const bottomRowHeight = rootStyle.height - titleBarStyle.height - titleBarStyle.marginBottom - titleBarStyle.marginTop - theme.toolbarHeight;
|
const bottomRowHeight = rootStyle.height - titleBarStyle.height - titleBarStyle.marginBottom - titleBarStyle.marginTop - theme.toolbarHeight - tagStyle.height - tagStyle.marginBottom;
|
||||||
|
|
||||||
const viewerStyle = {
|
const viewerStyle = {
|
||||||
width: Math.floor(innerWidth / 2),
|
width: Math.floor(innerWidth / 2),
|
||||||
|
Reference in New Issue
Block a user