From efc186e56ec8da8b05136c22359ce885b59aa87e Mon Sep 17 00:00:00 2001 From: Jesper Pedersen Date: Mon, 13 Mar 2023 10:09:52 +0100 Subject: [PATCH 1/2] Add css to hide scrollbar --- web/sites/default/files/gin-custom.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/web/sites/default/files/gin-custom.css b/web/sites/default/files/gin-custom.css index 51b5391b..edb9ea7a 100644 --- a/web/sites/default/files/gin-custom.css +++ b/web/sites/default/files/gin-custom.css @@ -41,3 +41,21 @@ -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.1 5.5H.9c-.525 0-.9.412-.9.9v10.2c0 .525.375.9.9.9h22.2c.487 0 .9-.375.9-.9V6.4c0-.488-.413-.9-.9-.9zM11.4 16.3H1.2V6.7h10.2v9.6zm11.4 0H12.6V6.7h10.2v9.6zM3.413 15.1h.375c.187 0 .374-.112.412-.3l.525-1.538h2.513l.524 1.538c.038.188.226.3.413.3h.375c.337 0 .525-.3.45-.563l-2.213-6.3c-.074-.187-.262-.337-.45-.337h-.712c-.188 0-.375.15-.45.338l-2.212 6.3a.446.446 0 00.45.562zm2.25-4.8c.15-.413.3-1.125.3-1.125H6s.15.712.263 1.125l.675 1.912H5.024l.637-1.912zm8.737-.45c0 .263.188.45.45.45h4.425c-.262.675-.712 1.35-1.275 1.987a9.575 9.575 0 01-.788-1.05.441.441 0 00-.6-.15l-.262.15c-.225.15-.3.413-.15.638.262.412.6.825.975 1.238a7.469 7.469 0 01-1.238.9c-.187.15-.262.412-.15.6l.15.262c.15.225.413.3.638.188.525-.338.975-.713 1.425-1.088.413.375.9.75 1.387 1.05.188.15.488.075.638-.15l.15-.262c.113-.188.037-.45-.15-.6-.412-.226-.787-.563-1.162-.9.787-.9 1.387-1.875 1.687-2.813h.6c.225 0 .45-.188.45-.45v-.3a.484.484 0 00-.45-.45H18.6v-.75a.484.484 0 00-.45-.45h-.3a.456.456 0 00-.45.45v.75h-2.55a.456.456 0 00-.45.45v.3z' fill='%23323233'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.1 5.5H.9c-.525 0-.9.412-.9.9v10.2c0 .525.375.9.9.9h22.2c.487 0 .9-.375.9-.9V6.4c0-.488-.413-.9-.9-.9zM11.4 16.3H1.2V6.7h10.2v9.6zm11.4 0H12.6V6.7h10.2v9.6zM3.413 15.1h.375c.187 0 .374-.112.412-.3l.525-1.538h2.513l.524 1.538c.038.188.226.3.413.3h.375c.337 0 .525-.3.45-.563l-2.213-6.3c-.074-.187-.262-.337-.45-.337h-.712c-.188 0-.375.15-.45.338l-2.212 6.3a.446.446 0 00.45.562zm2.25-4.8c.15-.413.3-1.125.3-1.125H6s.15.712.263 1.125l.675 1.912H5.024l.637-1.912zm8.737-.45c0 .263.188.45.45.45h4.425c-.262.675-.712 1.35-1.275 1.987a9.575 9.575 0 01-.788-1.05.441.441 0 00-.6-.15l-.262.15c-.225.15-.3.413-.15.638.262.412.6.825.975 1.238a7.469 7.469 0 01-1.238.9c-.187.15-.262.412-.15.6l.15.262c.15.225.413.3.638.188.525-.338.975-.713 1.425-1.088.413.375.9.75 1.387 1.05.188.15.488.075.638-.15l.15-.262c.113-.188.037-.45-.15-.6-.412-.226-.787-.563-1.162-.9.787-.9 1.387-1.875 1.687-2.813h.6c.225 0 .45-.188.45-.45v-.3a.484.484 0 00-.45-.45H18.6v-.75a.484.484 0 00-.45-.45h-.3a.456.456 0 00-.45.45v.75h-2.55a.456.456 0 00-.45.45v.3z' fill='%23323233'/%3E%3C/svg%3E"); } + +/* +* Toolbar - Hide scrollbar +* +* Scrollbar breakes the navigation on low browser windows. +* Fix for now is to hide it. +*/ + +ul.toolbar-menu::-webkit-scrollbar { + width: 0; + background: transparent; + display: none; +} +ul.toolbar-menu { + -ms-overflow-style: none; + scrollbar-width: none; + scroll-margin: 0px; +} From e660020962006da8407f8d60804e6a31164fa214 Mon Sep 17 00:00:00 2001 From: Jesper Pedersen Date: Mon, 13 Mar 2023 11:21:29 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bdde2c0..766ca959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Nedenfor ses dato for release og beskrivelse af opgaver som er implementeret. ### Opdateret +* Hide scrollbar on sidebar navigation * Opdaterede os2forms/os2forms_rest_api * os2forms_digital_post (1.2.0) * Remove dompdf