You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it works fine at the SCSS level. But when I try to device a CCol with the xxl size, it does not get added to the generated HTML class output. And the reason is because of the interface for the CCol class which is defined like so...
So with the xxl={4} being set in JSX, I will get the following output <div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6"> (notice that col-xxl-4 is missing).
But if I use the Inspector to update the DOM and manually add the class name like so ... <div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 col-xxl-4"> then everything works fine. So it is literally just an issue with CoreUI not allowing col-xxl-? to be passed through.
This kind of defeats the purpose of being able to customise the breakpoints if CoreUI does not allow them to be extended. Not sure what the ultimate solution is, but in the short term is there any chance you could update the TypeScript Interface to allow xxl?: columnProps; to be defined?
In this day and age with ultra large monitors, stopping at xl is just not flexible enough.
The text was updated successfully, but these errors were encountered:
I have added another custom breakpoint like so:
And it works fine at the SCSS level. But when I try to device a
CCol
with thexxl
size, it does not get added to the generated HTML class output. And the reason is because of the interface for the CCol class which is defined like so...So with the
xxl={4}
being set in JSX, I will get the following output<div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">
(notice thatcol-xxl-4
is missing).But if I use the Inspector to update the DOM and manually add the class name like so ...
<div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 col-xxl-4">
then everything works fine. So it is literally just an issue with CoreUI not allowingcol-xxl-?
to be passed through.This kind of defeats the purpose of being able to customise the breakpoints if CoreUI does not allow them to be extended. Not sure what the ultimate solution is, but in the short term is there any chance you could update the TypeScript Interface to allow
xxl?: columnProps;
to be defined?In this day and age with ultra large monitors, stopping at
xl
is just not flexible enough.The text was updated successfully, but these errors were encountered: