I'm looking to create a sidebar using 'vue-bootstrap' that can be hidden when clicked, but I only want to hide 80% of the width of the sidebar. How can I achieve this effect of partially hiding the sidebar?
<b-button v-b-toggle.sidebar-1 class="toogle-sidebar">
<span>Toggle sidebar</span>
</b-button>
<b-sidebar
id="sidebar-backdrop"
title="Sidebar with backdrop"
:backdrop-variant="variant"
backdrop
shadow
>
<div class="px-3 py-2">
<b-form-group label="Backdrop variant" label-for="backdrop-variant">
<b-form-select id="backdrop-variant" v-model="variant" :options="variants"></b-form-select>
</b-form-group>
</div>
</b-sidebar>
I'm aiming to achieve a design similar to the Gitlab sidebar, where clicking 'hide sidebar' would display only the icons of the menu. Can someone guide me on how to implement this?
Thank you in advance for any assistance!