-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Icon offset override should only apply to icons, not all SVGs #15132
Comments
Ah, PF4 icons are unclassed SVGs, but have the following attributes:
Perhaps we should use |
There is already a PR upstream for your interest. patternfly/patternfly-react#5275 |
@KKoukiou: Thanks for linking it here! It isn't ready in a release we can use yet, so I think we still need a fixed workaround until then. Hopefully it won't have to last so long in our codebase. |
As is, So, basically: it would only affect icons with the incorrect offset anyway. Block SVGs and those inside of a flex or grid (with other specific alignment) actually ignore the vertical-align and are aligned in the flow or as specified (for flex/grid). |
We need to class this override:
cockpit/pkg/lib/patternfly/patternfly-4-overrides.scss
Lines 28 to 33 in 8ea9d25
...As we're now using SVGs that are not icons, such as in the performance page, the SVG graphs, etc.
The text was updated successfully, but these errors were encountered: