From ba64e69fefd5627fa701218c6e2455f5777cc885 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr>
Date: Tue, 19 Apr 2022 09:15:14 +0200
Subject: [PATCH] fix left menu width

---
 capsule-prototype/css/left_menu.css | 7 +++----
 capsule-prototype/index.html        | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/capsule-prototype/css/left_menu.css b/capsule-prototype/css/left_menu.css
index 1d9c191..a151c30 100644
--- a/capsule-prototype/css/left_menu.css
+++ b/capsule-prototype/css/left_menu.css
@@ -5,7 +5,8 @@
 }
 
 #left_menu {
-	width: 80px;
+  width: 80px;
+	min-width: 80px;
 	justify-content: space-between;
 	background: var(--rk-light-blue);
   overflow-x: auto;
@@ -50,14 +51,12 @@
 .btns_add_annotation li {
 	flex-direction: column;
 }
-
-.btns_control {
-}
 	
 #btn_add_note::before { content: url("images/icn-menu-addnote.png"); }
 #btn_add_link::before { content: url("images/icn-menu-addlink.png"); }
 #btn_add_file::before { content: url("images/icn-menu-addfile.png"); }
 #btn_add_paste::before { content: url("images/icn-image.png"); }
+
 #left_menu_item_preview::before { content: url("images/icn-menu-preview.png"); }
 #left_menu_item_settings::before { content: url("images/icn-menu-settings.png"); }
 
diff --git a/capsule-prototype/index.html b/capsule-prototype/index.html
index b51412b..1c46db2 100644
--- a/capsule-prototype/index.html
+++ b/capsule-prototype/index.html
@@ -233,8 +233,8 @@
 			</form>
 		</div>
 		<div class='flex-col'>
-			<div id='left_menu_item_preview' class='left_menu_item'>preview</div>
-			<div id='left_menu_item_settings' class='left_menu_item'>settings</div>
+			<div id='left_menu_item_preview' class='left_menu_item flex-col'>preview</div>
+			<div id='left_menu_item_settings' class='left_menu_item flex-col'>settings</div>
 		</div>
 	</div>
 
-- 
GitLab