Skip to content

Conversation

isabellechanclou
Copy link
Contributor

Proposal to add 3 new css variables for Offcanvas feature.

Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two little changes before we can approve and slate for v5.3.0 :).

@@ -41,7 +44,7 @@
background-clip: padding-box;
outline: 0;
@include box-shadow(var(--#{$prefix}offcanvas-box-shadow));
@include transition(transform $offcanvas-transition-duration ease-in-out);
@include transition(transform var(--#{$prefix}offcanvas-transition-duration) ease-in-out);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be a variable for the entire property value, not just the duration.

--bs-offcanvas-transition: transform #{$offcanvas-transition-duration} ease-in-out);

@mdo mdo merged commit 838deba into twbs:main Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants