Skip to content

Build your personal knowledge base with Trilium Notes

css fixes

zadam703fbd30df28
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index 5032aeea52..3dd164a59f 100755
--- a/bin/copy-trilium.sh
+++ b/bin/copy-trilium.sh
@@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi
-n exec 12 npm run webpack
+n exec 14.17.2 npm run webpack
DIR=$1
@@ -27,7 +27,7 @@ cp -r electron.js $DIR/
cp webpack-* $DIR/
# run in subshell (so we return to original dir)
-(cd $DIR && n exec 12 npm install --only=prod)
+(cd $DIR && n exec 14.17.2 npm install --only=prod)
# cleanup of useless files in dependencies
rm -r $DIR/node_modules/image-q/demo
diff --git a/src/public/app/widgets/tab_row.js b/src/public/app/widgets/tab_row.js
index 2138614a3d..3aceb4278d 100644
--- a/src/public/app/widgets/tab_row.js
+++ b/src/public/app/widgets/tab_row.js
@@ -127,7 +127,7 @@ const TAB_ROW_TPL = `
left: 0;
right: 0;
height: 36px;
- padding: 7px 11px;
+ padding: 7px 5px 7px 11px;
border-radius: 8px;
overflow: hidden;
pointer-events: all;
@@ -179,6 +179,7 @@ const TAB_ROW_TPL = `
border-radius: 50%;
z-index: 100;
text-align: center;
+ width: 22px;
}
.tab-row-widget .note-tab .note-tab-close span {
diff --git a/src/public/stylesheets/themes.css b/src/public/stylesheets/themes.css
index be9b16b779..dbcf8ea33f 100644
--- a/src/public/stylesheets/themes.css
+++ b/src/public/stylesheets/themes.css
@@ -174,10 +174,10 @@ body.theme-dark {
--modal-backdrop-color: #444;
--left-pane-background-color: #1f1f1f;
- --left-pane-text-color: #8D8888;
+ --left-pane-text-color: #ADAAAA;
--launcher-pane-background-color: #1f1f1f;
- --launcher-pane-text-color: #8D8888;
+ --launcher-pane-text-color: #ADAAAA;
--active-tab-background-color: #666;
--active-tab-text-color: #ccc;
diff --git a/src/public/stylesheets/tree.css b/src/public/stylesheets/tree.css
index db6b45bfda..b8e8f8d2f6 100644
--- a/src/public/stylesheets/tree.css
+++ b/src/public/stylesheets/tree.css
@@ -81,6 +81,8 @@ span.fancytree-title {
color: inherit !important;
background: inherit !important;
outline: none !important;
+ position: relative;
+ top: -2px;
}
span.fancytree-node.protected > span.fancytree-custom-icon {