From 63b7e96c289b34959048db825e7273d8a84ed68a Mon Sep 17 00:00:00 2001 From: hlohaus <983577+hlohaus@users.noreply.github.com> Date: Sat, 1 Feb 2025 00:46:37 +0100 Subject: Fix styling in GUI, improve mobile support --- g4f/gui/client/static/css/style.css | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'g4f/gui/client/static/css') diff --git a/g4f/gui/client/static/css/style.css b/g4f/gui/client/static/css/style.css index 45323999..34bc030e 100644 --- a/g4f/gui/client/static/css/style.css +++ b/g4f/gui/client/static/css/style.css @@ -971,10 +971,10 @@ select:hover, } } -.input-box { +.input-area { display: flex; align-items: center; - cursor: pointer; + padding: 10px; } .info { @@ -1150,6 +1150,7 @@ ul { align-items: flex-start; flex-wrap: wrap; gap: 8px; + padding-left: 4px; } .mobile-sidebar { @@ -1317,19 +1318,20 @@ ul { border: 1px dashed #e4d4ffa6; border-radius: 4px; cursor: pointer; - padding-left: 4px; - padding-right: 5px; - padding-top: 2px; - padding-bottom: 2px; position: absolute; bottom: 8px; - right: 8px; + right: 4px; + padding: 4px; } #send-button:hover { border: 1px solid #e4d4ffc9; } +#send-button i { + padding: 2px; +} + form textarea { height: 20px; min-height: 20px; @@ -1434,7 +1436,13 @@ form .field.saved .fa-xmark { #message-input { height: 90px; - margin-left: 20px; + flex: 1; + padding: 10px; + padding-left: 20px; + border-radius: 20px; + font-size: 14px; + margin-right: 10px; + outline: none; max-height: 200px; } -- cgit v1.2.3