Skip to content

[vhelper] - Change vhelper inline styles to a global css variables #15777

@desig9stein

Description

@desig9stein

Is your feature request related to a problem? Please describe.

The .igx-vhelper has width and height set as inline styles.

Describe the solution you'd like

Instead of inline styles, I like to have global CSS variables.
--igx-vhelper--vertical-width: ...
--igx-vhelper--vertical-height: ...

--igx-vhelper--horizontal-width: ...
--igx-vhelper--horizontal-height: ...

Describe alternatives you've considered

I don't have

Additional context

Having this as a global variable makes sense to me, it will also help with problems like the one we currently have in the virtualizad combo where the items go under the scrollbar we can also set this variables to take as a fallback the variables set for the global scrollbar --sb-size: var(--ig-scrollbar-sb-size, 1rem);

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions