From 43cb4e614ff585f8a55bd843b7125ab6168a14f1 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 24 Feb 2024 06:57:20 +0100 Subject: Add remove messages from history Improve hidding regenerated messages --- g4f/gui/client/css/style.css | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'g4f/gui/client/css/style.css') diff --git a/g4f/gui/client/css/style.css b/g4f/gui/client/css/style.css index 8752dee5..aab7e555 100644 --- a/g4f/gui/client/css/style.css +++ b/g4f/gui/client/css/style.css @@ -316,13 +316,33 @@ body { z-index: 1000; } -.message .assistant i { +.message .assistant .fa-phone-arrow-up-right, +.message .assistant .fa-phone-arrow-down-left { position: absolute; bottom: -6px; right: -6px; z-index: 1000; } +.message .assistant .fa-xmark, +.message .user .fa-xmark { + position: absolute; + top: -2px; + left: 0px; + z-index: 1000; + display: none; + cursor: pointer; +} + +.message .user .fa-xmark { + color: var(--colour-1); +} + +.message .assistant:hover .fa-xmark, +.message .user:hover .fa-xmark { + display: block; +} + .new_convo { padding: 8px 12px; display: flex; -- cgit v1.2.3