Skip to content

Tweak modal transform#27005

Merged
XhmikosR merged 6 commits intotwbs:v4-devfrom
MartijnCuppens:modal-transform-tweak
Aug 13, 2018
Merged

Tweak modal transform#27005
XhmikosR merged 6 commits intotwbs:v4-devfrom
MartijnCuppens:modal-transform-tweak

Conversation

@MartijnCuppens
Copy link
Copy Markdown
Member

Make the modal transform variable and tweak the default value.

Closes #27004

Copy link
Copy Markdown
Collaborator

@andresgalante andresgalante left a comment

Choose a reason for hiding this comment

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

Hi @MartijnCuppens I think there is a need for

$modal-show-transform:              translate(0px, 0) !default;

Since if the author wants to change any other transform that's not translate they'd also need an ending point.

@MartijnCuppens
Copy link
Copy Markdown
Member Author

Hi @andresgalante,

transform: translate(0px, 0) would be the same as transform: none, so I changed it like that. I've also included some documentation.

What do you think about this?

Copy link
Copy Markdown
Collaborator

@andresgalante andresgalante left a comment

Choose a reason for hiding this comment

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

👍 yeap, thanks @MartijnCuppens

@XhmikosR XhmikosR merged commit 57661df into twbs:v4-dev Aug 13, 2018
@mdo mdo mentioned this pull request Aug 13, 2018
@MartijnCuppens MartijnCuppens deleted the modal-transform-tweak branch August 13, 2018 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants