dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 27970672bedecb112106b86f144d902e19544293
parent c9c0f0bd8699a6213399e2ada562a323a0be113f
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 20 Dec 2023 11:36:33 -0500

UI

Diffstat:
Mpkg/web/handlers/api/v1/messages.qtpl | 2+-
Mpkg/web/handlers/api/v1/messages.qtpl.go | 14+++++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/api/v1/messages.qtpl b/pkg/web/handlers/api/v1/messages.qtpl @@ -192,7 +192,7 @@ height: 18px; position: fixed; top: 1px; - right: 35px; + right: {% if !Data.HideRightColumn %}35px{% else %}8px{% endif %}; border-radius: 9px; animation: i1 30s forwards; } diff --git a/pkg/web/handlers/api/v1/messages.qtpl.go b/pkg/web/handlers/api/v1/messages.qtpl.go @@ -254,7 +254,19 @@ func StreamGenerateStyle(qw422016 *qt422016.Writer, AuthUser *database.User, Dat height: 18px; position: fixed; top: 1px; - right: 35px; + right: `) +//line messages.qtpl:195 + if !Data.HideRightColumn { +//line messages.qtpl:195 + qw422016.N().S(`35px`) +//line messages.qtpl:195 + } else { +//line messages.qtpl:195 + qw422016.N().S(`8px`) +//line messages.qtpl:195 + } +//line messages.qtpl:195 + qw422016.N().S(`; border-radius: 9px; animation: i1 30s forwards; }