From 9807957963ac7ef164967c9049901938540ed7b3 Mon Sep 17 00:00:00 2001
From: itsmartashub <44645238+itsmartashub@users.noreply.github.com>
Date: Mon, 29 Sep 2025 22:53:48 +0200
Subject: [PATCH 1/2] feat(custom/shrink-topbar): Add toggle for compact mode
of sticky top header
- Add a toggle to enable a more compact version of the sticky top header containing the chat title
- Reduce the height and padding of the header when compact mode is enabled
- Ensure the compact mode maintains usability and readability while optimizing screen space
Changes summary:
- Added a toggle to shrink the sticky top header, making it more compact. When enabled, the header's height and padding are reduced, providing a cleaner and more space-efficient layout while ensuring the chat title remains readable and functional.
---
components/Custom/Layouts/Toggles.vue | 16 ++++++++++-
components/Icons/Shrink.vue | 20 ++++++++++++++
styles/customs/_custom-toggles.scss | 38 +++++++++++++++++++++++++++
styles/elements/_right--sticky.scss | 11 +++++---
utils/storage.js | 2 ++
5 files changed, 83 insertions(+), 4 deletions(-)
create mode 100644 components/Icons/Shrink.vue
diff --git a/components/Custom/Layouts/Toggles.vue b/components/Custom/Layouts/Toggles.vue
index 54dc353..05e83e7 100644
--- a/components/Custom/Layouts/Toggles.vue
+++ b/components/Custom/Layouts/Toggles.vue
@@ -21,17 +21,30 @@
subtitle="Make User bubble full width to match the AI bubble width."
:iconComponent="IconFullWidth"
/>
+
+