commit 2ff3d4f1d9ca8033ae17ab59832c3b15972a185d
parent c11116c6e243258dd2c5d6012556dc70171fb202
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Fri, 13 Jan 2023 09:36:25 -0800
cleanup
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/pkg/web/public/css/style.css b/pkg/web/public/css/style.css
@@ -146,4 +146,6 @@ textarea.transparent-input {
textarea {
white-space: pre;
overflow-wrap: normal;
-}
-\ No newline at end of file
+}
+
+.color-pkr { width: 120px; }
+\ No newline at end of file
diff --git a/pkg/web/public/views/pages/settings/chat.gohtml b/pkg/web/public/views/pages/settings/chat.gohtml
@@ -45,7 +45,7 @@
{{ if .AuthUser.CanChangeColor }}
<div class="form-group">
<label for="chat_color">{{ t "Chat color" . }}</label>
- <div class="input-group" style="width: 120px;">
+ <div class="input-group color-pkr">
<div class="input-group-prepend"><span style="background-color: {{ .Data.ChatColor }};" class="input-group-text"></span></div>
<input type="color" id="chat_color" name="chat_color" value="{{ .Data.ChatColor }}" class="form-control" />
</div>
@@ -93,7 +93,7 @@
</div>
<div class="form-group">
<label for="chat_read_marker_color">{{ t "Marker color" . }}</label>
- <div class="input-group" style="width: 120px;">
+ <div class="input-group color-pkr">
<div class="input-group-prepend"><span style="background-color: {{ .Data.ChatReadMarkerColor }};" class="input-group-text"></span></div>
<input type="color" id="chat_read_marker_color" name="chat_read_marker_color" value="{{ .Data.ChatReadMarkerColor }}" class="form-control" />
</div>