-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mixin make-container() similar to make-row() #10160
Conversation
padding-right: (@gutter / 2); | ||
padding-left: (@gutter / 2); | ||
|
||
@media (min-width: @screen-sm) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@screen-sm etc. have been deprecated; see the comments near their declarations in the git HEAD version.
I think your mixin is a bit rigid. Calling I'd prefer something like, ad advertise the user that he has to manually call it for every breakpoint
Also, as BS3 is mobile-first, fluid container should be the default. So I propose to rename your PS: don't forget to remove |
great input, thanks, i will change the names of the mixins remove .container-fixed and do something similar to your mixin |
@@ -538,16 +538,45 @@ | |||
td& { display: none !important; } | |||
} | |||
|
|||
.mq-min-width(@min-width, @property, @value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't seem to be using this mixin anywhere. I propose you to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't know how that one slipped in :) will do
I've made some more comments. Sorry for posting/deleting so much times :( hehe. |
…ant for production
Something like this would be pretty clutch for me too. Right now there's no way to use container as a mixin, that I'm aware of, with basic LESS. I even posted to StackOverflow but have had no luck. What's important for me is seeing this solution incorporate the |
@dminkovsky it does what you are asking for.
|
Why'd you close this PR? |
Ez létrehoz egy csomó duplikált kódot hívott make-konténer minden töréspont kívülről sajátos média ? |
+. Make-tartály fix egyedi (@ képernyő sm-min, @ konténer-tabletta, @ ereszcsatorna);Minden töréspont Kívülről sajátos média? |
When using the mixins make-row() & make-column() instead of using .row & .col- classes, i was missing the same for creating a page container.