dkforest

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

commit 3ef48b7275568b44dba086791116eec3329eff62
parent c8f4f24e3cd2467b5a7df290adfa64e325d0824e
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 12 Jan 2023 16:40:32 -0800

css

Diffstat:
Mpkg/web/public/views/pages/chat-messages.gohtml | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pkg/web/public/views/pages/chat-messages.gohtml b/pkg/web/public/views/pages/chat-messages.gohtml @@ -147,6 +147,7 @@ .spacer16 { display: inline-block; width: 16px; } .spacer36 { display: inline-block; width: 36px; } .spacer56 { display: inline-block; width: 56px; } + .d-inline { display: inline; } </style> </head> <body> @@ -185,14 +186,14 @@ {{- if (.UserCanDelete $.AuthUser) -}} {{- if not .TooOldToDelete -}} {{- if $.AuthUser.DisplayDeleteButton -}} - <form method="post" action="/api/v1/chat/messages/delete/{{ .UUID }}" style="display: inline;"> + <form method="post" action="/api/v1/chat/messages/delete/{{ .UUID }}" class="d-inline"> <input type="hidden" name="csrf" value="{{ $.CSRF }}" /> <button class="mod-btn delete_msg_btn" title="delete"></button> </form> {{- end -}} {{- else if or (and $.AuthUser.IsModerator .TooOldToDelete (ne .UserID $.AuthUser.ID)) $.AuthUser.IsAdmin (and .Room.OwnerUserID (eq (derefUserID .Room.OwnerUserID) $.AuthUser.ID)) -}} {{- if $.AuthUser.DisplayDeleteButton -}} - <form method="post" action="/api/v1/chat/messages/delete/{{ .UUID }}" style="display: inline;"> + <form method="post" action="/api/v1/chat/messages/delete/{{ .UUID }}" class="d-inline"> <input type="hidden" name="csrf" value="{{ $.CSRF }}" /> <button class="mod-btn delete_msg_btn" style="color: orange;" title="delete"></button> </form> @@ -212,14 +213,14 @@ {{- if eq .User.Username $.NullUsername -}} <div class="spacer16"></div> {{- else -}} - <form method="post" action="/api/v1/users/{{ .UserID }}/toggle-hellban" style="display: inline;"> + <form method="post" action="/api/v1/users/{{ .UserID }}/toggle-hellban" class="d-inline"> <input type="hidden" name="csrf" value="{{ $.CSRF }}" /> <button class="mod-btn hb_btn" style="color: orange; {{ if .User.IsHellbanned }}text-decoration: line-through;{{ end }}" title="hellban"></button> </form> {{- end -}} {{- end -}} {{- if $.AuthUser.DisplayKickButton -}} - <form method="post" action="/api/v1/users/{{ .UserID }}/kick" style="display: inline;"> + <form method="post" action="/api/v1/users/{{ .UserID }}/kick" class="d-inline"> <input type="hidden" name="csrf" value="{{ $.CSRF }}" /> <button class="mod-btn k_btn" style="color: orange;" title="kick"></button> </form>