diff src/chat.css @ 74:64e35a92d163 default tip

add translation
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 28 Aug 2025 13:31:46 -0600
parents 27758f3b2d69
children
line wrap: on
line diff
--- a/src/chat.css	Thu Aug 28 05:16:32 2025 -0600
+++ b/src/chat.css	Thu Aug 28 13:31:46 2025 -0600
@@ -39,9 +39,21 @@
 	width: 100%;
 }
 
-div[role=assistant]:has(option[hide_text]:checked) div[message] {
+div[role=assistant]:has(option[value=hide_text]:checked) div[message] {
+	filter: blur(5px);
+}
+div[role=assistant]:has(option[value=hide_ruby]:checked) div[message] rt {
 	filter: blur(5px);
 }
-div[role=assistant]:has(option[hide_ruby]:checked) div[message] rt {
-	filter: blur(5px);
+div[role=assistant] div[trans] {
+	display: none;
+	border-top: 1px solid #cccccc;
+	white-space: pre-wrap;
 }
+div[role=assistant]:has(option[value=show_trans]:checked) div[trans] {
+	display: block;
+}
+
+div[controls] {
+	margin-top: 16px;
+}