Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Better to have a library named moderation-control-layout-builder for example. And only load when we have both varbase_workflow + varbase_layout_builder
If we do have more custom variables we may run into a more complicated update process for old custom themes.
easier way to extend library ( or add a widget component in the components folder for the moderation-control-layout-builder library )
We may use a ready class by bootstrap 4 in the twig template file. to follow the custom style for that ready class by bootstrap 4 )
Comments
Comment #2
abu-zakham commentedComment #3
abu-zakham commentedComment #4
rajab natshahComment #5
abu-zakham commentedComment #6
rajab natshahThank abu-zakham for reporting and patching!
Not very sure
Better to have a library named moderation-control-layout-builder for example. And only load when we have both varbase_workflow + varbase_layout_builder
If we do have more custom variables we may run into a more complicated update process for old custom themes.
easier way to extend library ( or add a widget component in the components folder for the moderation-control-layout-builder library )
We may use a ready class by bootstrap 4 in the twig template file. to follow the custom style for that ready class by bootstrap 4 )
Comment #7
mohammed j. razemI agree.
One of the most performance taxing issues (according to Google Lighthouse) is Unused CSS and JS in pages.
https://web.dev/unused-css-rules/
So if we can limit the CSS to be loaded only when needed, would be much better.
Comment #8
abu-zakham commentedI've used bootstrap 4 classes, card for wrapper and p-3 for wrapper padding and w-25 for state field width.
Comment #9
abu-zakham commentedComment #10
abu-zakham commentedComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #16
rajab natshahComment #17
rajab natshahComment #18
rajab natshahComment #19
rajab natshahComment #21
rajab natshahComment #22
rajab natshahComment #23
rajab natshahComment #24
rajab natshahComment #25
rajab natshahComment #26
rajab natshahA follow up issue #3170292: Fix the Moderation state control box with a better default style and fix a missing .css in the vartheme_bs4/moderation-state library
Comment #28
rajab natshahComment #29
rajab natshah