Skip to content
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

[Feature Request] Add additional useful classes #9243

Closed
TheInvoker opened this issue Oct 5, 2019 · 5 comments · Fixed by Enterprise-CMCS/cmcs-eregulations#1307 · May be fixed by Shuunen/ging#200
Closed

[Feature Request] Add additional useful classes #9243

TheInvoker opened this issue Oct 5, 2019 · 5 comments · Fixed by Enterprise-CMCS/cmcs-eregulations#1307 · May be fixed by Shuunen/ging#200
Assignees
Labels
framework Issues and Feature Requests that have needs framework-wide. T: feature A new feature

Comments

@TheInvoker
Copy link

TheInvoker commented Oct 5, 2019

Problem to solve

Removes the need to create my own

Proposed solution

Add these

.overflow-y-scroll {
overflow-y:scroll !important;
}
.text-decoration-none {
text-decoration:none !important;
}
.position-relative {
position:relative !important;
}
.position-absolute {
position:absolute !important;
}
@media print {
.media-print-position-absolute {
position:absolute !important;
}
}
.d-block-before:before {
display: block !important;
}

@ghost ghost added the S: triage label Oct 5, 2019
@johnleider
Copy link
Member

I like the overflow and position ones (I reach for those all the time), not sure about the rest. Thoughts @vuetifyjs/core-contributors @vuetifyjs/core-team ?

@johnleider johnleider added framework Issues and Feature Requests that have needs framework-wide. T: feature A new feature and removed S: triage labels Jan 15, 2020
@YipingRuan
Copy link
Contributor

I like the overflow and position ones (I reach for those all the time), not sure about the rest. Thoughts @vuetifyjs/core-contributors @vuetifyjs/core-team ?

How will the "print" being used?

@MajesticPotatoe
Copy link
Member

The position and overflow ones make sense, especially for components that don't have positionable.
would say 1, 3, and 4.

@TheInvoker
Copy link
Author

for some things I noticed that they need to be altered for print mode. For example if you have a sticky header, then you try to print, the banner ends up on top of every page covering the content. So I needed that class to make it only stick to the very top during print mode only.

@rwam
Copy link
Contributor

rwam commented Sep 17, 2021

Maybe it's possible to adapt utility classes from bootstrap: https://getbootstrap.com/docs/4.1/utilities/position/ Would be helpful sometimes.

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