Created
December 15, 2020 03:00
-
-
Save wplit/fdfdd0fa8be510b55dd49254456e6df2 to your computer and use it in GitHub Desktop.
showing a certain part of the offcanvas while it's still closed, for displaying icons etc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Change the ID to match your offcanvas ID */ | |
| #-off-canvas-558-275:not(.oxy-off-canvas-toggled) .offcanvas-inner { | |
| --offcanvas-visible: 105px; /* Change this to width you want visible */ | |
| -webkit-transform: translate(calc(-100% + var(--offcanvas-visible)),0); | |
| -ms-transform: translate(calc(-100% + var(--offcanvas-visible)),0); | |
| transform: translate(calc(-100% + var(--offcanvas-visible)),0); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment