diff --git a/.gitpod.yml b/.gitpod.yml index 40dcc1b95..a7f713d3a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -2,7 +2,7 @@ image: file: .gitpod.dockerfile tasks: - - before: nvm install 16.13.0 && nvm use 16.13.0 + - before: nvm install 16.13.1 && nvm use 16.13.1 init: npm install command: npm run start-server diff --git a/Dockerfile b/Dockerfile index 0258e6c6d..b1ebbe7ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.13.0-alpine +FROM node:16.13.1-alpine # Create app directory WORKDIR /usr/src/app diff --git a/bin/build-server.sh b/bin/build-server.sh index 437c87c5a..805c2234f 100755 --- a/bin/build-server.sh +++ b/bin/build-server.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash PKG_DIR=dist/trilium-linux-x64-server -NODE_VERSION=16.13.0 +NODE_VERSION=16.13.1 if [ "$1" != "DONTCOPY" ] then diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index 975917b35..c9439f79b 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then exit 1 fi -n exec 16.13.0 npm run webpack +n exec 16.13.1 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 16.13.0 npm install --only=prod) +(cd $DIR && n exec 16.13.1 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/backlinks.js b/src/public/app/widgets/backlinks.js index 2b1353b6a..8ed93d9cf 100644 --- a/src/public/app/widgets/backlinks.js +++ b/src/public/app/widgets/backlinks.js @@ -23,6 +23,7 @@ const TPL = ` display: flex; justify-content: space-between; align-items: center; + z-index: 10; } .backlinks-count { @@ -56,6 +57,15 @@ const TPL = ` opacity: 80%; font-size: 90%; } + + .backlink-excerpt .backlink-link { /* the actual backlink */ + font-weight: bold; + background-color: yellow; + } + + /* relation map has already buttons in that position */ + .type-relation-map .backlinks-ticker { top: 50px; } + .type-relation-map .backlinks-items { top: 100px; }