Skip to content

Added sizing and spacing based on viewport - #27397

Closed
galczo5 wants to merge 3 commits into
twbs:v4-devfrom
galczo5:sizing-spacing-vw-vh
Closed

galczo5 wants to merge 3 commits into
twbs:v4-devfrom
galczo5:sizing-spacing-vw-vh

Conversation

@galczo5

@galczo5 galczo5 commented Oct 11, 2018

Copy link
Copy Markdown
Contributor

Solution for #26779

@XhmikosR

Copy link
Copy Markdown
Member

Please make sure all CI is green.

@XhmikosR XhmikosR added css Sass sources or compiled CSS awaiting-reply Waiting on the author; an issue closes after 14 days without reply v4 v4, the frozen docs on gh-pages labels Oct 20, 2018
@galczo5

galczo5 commented Oct 20, 2018

Copy link
Copy Markdown
Contributor Author

I'm not sure what I should do. I've added some scss and output size check failed. Should I change value of check value or try to minimalize my code?

@XhmikosR

XhmikosR commented Oct 20, 2018 •

Copy link
Copy Markdown
Member

Yeah, then maybe this shouldn't be added at all. Or if we do really want this feature we will bump the limits, which generally I'm against. We have already too many utilities.

@XhmikosR
XhmikosR requested review from andresgalante and mdo October 20, 2018 11:15
@XhmikosR XhmikosR removed the awaiting-reply Waiting on the author; an issue closes after 14 days without reply label Oct 20, 2018
@galczo5

galczo5 commented Oct 20, 2018

Copy link
Copy Markdown
Contributor Author

I'm not sure about margins and paddings, but w-vw-* and h-vh-* are quite usefull

@XhmikosR

XhmikosR commented Oct 20, 2018 •

Copy link
Copy Markdown
Member

Well, usefulness is subjective. We can't add everything.

@mdo

mdo commented Oct 20, 2018

Copy link
Copy Markdown
Member

Thanks, but I've turned this down before and will do so again. We don't need responsive variations for everything and this just adds too much CSS.

@mdo mdo closed this Oct 20, 2018
@galczo5

galczo5 commented Oct 20, 2018

Copy link
Copy Markdown
Contributor Author

No problem :) I've been thinking about this for few hours today and you guys have right. In bootstrap there is too many utilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css Sass sources or compiled CSS v4 v4, the frozen docs on gh-pages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants