dkforest

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

commit ecb0159a7bef6e9bf8bab0ecca8fdfe59199b42e
parent d3374edc3d556b2d4eb8ecd9b146255fa5e5686c
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 15 Jun 2023 06:01:55 -0700

fix read-marker styling, thanks uD0S

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

diff --git a/pkg/web/handlers/api/v1/messages.qtpl b/pkg/web/handlers/api/v1/messages.qtpl @@ -174,7 +174,7 @@ .line-through { text-decoration: line-through; } .hb-row { background-color: rgba(0, 0, 0, 0.7); opacity: {%f AuthUser.GetHellbanOpacityF64() %}; } .own-highlight { background-color: rgba(255,241,176,0.05); } - .read-marker { border-top: {%dl AuthUser.ChatReadMarkerSize %}px solid {%s AuthUser.ChatReadMarkerColor %}; } + .read-marker { border-style: outset; border-top: {%dl AuthUser.ChatReadMarkerSize %}px solid {%s AuthUser.ChatReadMarkerColor %}; } #msgs { {% if !AuthUser.HideRightColumn %}width: calc(100% - 185px); float: left; {% endif %}line-height: 1.2; } #no-msg { padding-left: 10px; color: #ddd; } #rgt-pane-w { width: 150px; height: 100%; position: fixed; right: 15px; overflow-y: auto; } diff --git a/pkg/web/handlers/api/v1/messages.qtpl.go b/pkg/web/handlers/api/v1/messages.qtpl.go @@ -220,7 +220,7 @@ func StreamGenerateStyle(qw422016 *qt422016.Writer, AuthUser *database.User, Dat //line messages.qtpl:175 qw422016.N().S(`; } .own-highlight { background-color: rgba(255,241,176,0.05); } - .read-marker { border-top: `) + .read-marker { border-style: outset; border-top: `) //line messages.qtpl:177 qw422016.N().DL(AuthUser.ChatReadMarkerSize) //line messages.qtpl:177