Needs work
Project:
Bootstrap Styles
Version:
1.2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Apr 2023 at 02:51 UTC
Updated:
20 Feb 2026 at 22:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
aaronchristian commentedComment #4
chikeThe MR patch wouldn't apply with Composer and the module wouldn't download from the branch using Composer.
Comment #5
aaronchristian commentedIn Drupal 9/10, our beautiful UI is not so beautiful anymore. 😔
Comment #6
rajab natshahTry to do the following
which I learned to make use of that from Gin Layout Builder
doing that in https://git.drupalcode.org/project/varbase_layout_builder/-/blob/10.1.x/...
which works
Comment #7
aaronchristian commentedComment #8
aaronchristian commented@chike from what I can see if you're using D10 you will need a few extra patches;
Hope that helps!
If you're using D9, please give some more specifics on your setup and I'll see if I can assist you further. Please ping me in Slack if you would like quicker support!
Comment #9
chike@AaronChristian Thanks I will be checking this out tomorrow.
In D9, I have 'media_library_theme_reset', 'layout_builder_modal' and the regulars. I am using the 'boostrap' Bootstrap 3 theme. The Bootstrap Styles are not looking good at all.
Comment #10
aaronchristian commentedAh okay thanks @chike, we no longer support bootstrap 3, are you able to upgrade to bootstrap 4 or 5?
Comment #11
chikeThe collection of patches cleaned up the UI nicely.
This patch is not online,
That's for the D10 site. As for the D9 site using 'bootstrap' theme I think I may have to change the theme to one of the Bootstrap 5 themes as I am not sure 'bootstrap' will be adopting newer Bootstrap versions anytime soon.
Comment #12
pfeiffer commentedAfter applying this patch in a Drupal 9.4 all options of any block or section have a white background color.
Comment #13
carolpettirossi commentedAttached the patch from MR to use in composer
Comment #15
andre.bonon@aaron, we have more issues with the z-index and modals when LB is enabled for other entity types such as Blocks.
I updated the ui-dialog's z-index so as to be the same as Claro's (1260) and pushed it to the MR.
Also, I'm attaching the patch from MR to use in composer.
Comment #16
flyke commentedCan this be updated or a new issue fork be created that applies to bootstrap_styles 1.1.5 ?
Comment #17
sim_1Marking RTBC. Things are pretty broken without this. I'm sure more improvements are needed, but better to have something than keep living with things being broken.
Comment #18
aaronchristian commented@flyke this has been updated with the latest tagged release 1.1.5 now.
Comment #19
carolpettirossi commentedUploading a patch from MR#57.
I tested it on my projects, and it worked as expected.
Comment #20
carolpettirossi commentedForgot to click "Upload". Sorry about that
Comment #21
guido_sThe branch needs a rebase as the patches don't apply anymore, but it seems this is a little more complicated.
There are conflicts in (s)css files where someone needs to evaluate which changes to keep and trying to use npm install throws errors, so I can't even compile the merged scss.
Maybe someone who has more insight in this issue and has the project set up already can rebase the branch and provide a new patch?
Comment #23
cassioalmeida commentedHi!
I'm using this with Gin, and I found that the Light version was odd, so I fixed some of that. I also added a check to include a gin.css file to work with Gin's accent colors. I'm submitting the patch and I pushed the code to the branch light-and-gin-fixes branch in the issue fork.
Comment #24
cassioalmeida commentedComment #25
aaronchristian commentedComment #26
aaronchristian commentedI see the patch doesnt apply anymore, i'm working on a fix, should have something in the next few days to clean things back up.
Comment #27
cassioalmeida commentedHey. I found that for the gin patch, we need to add the weight to apply it properly. I'm just uploading the new patch with it, called gin-weight.patch.
Comment #29
anicotoWorking on Module v1.2.1 still have issues with the UI. Branch need rebase
Comment #30
hfernandes commentedHonestly, I don't think this module should implement the light/dark modes as it directly impacts the admin theme.
Admin themes like Gin have their own light/dark modes, and overriding them causes a lot of layout issues.
This module CSS should only focus on styling the "Style" tab - which is provided by this module - and inherit any style from the admin/base theme.
Comment #31
rhovlandMR now contains out of scope changes.
Adds a license file. Adds stuff to info.yml that shouldn't be there. Adds a patches.txt file. Adds theme specific css and patches.
There is a lot of good work in here too but it's buried in a ton of unrelated changes that belong in their own issues.
Comment #32
rhovlandAfter installing 1.2.3 which included the fixes in #3282082: Support for Bootstrap 5; on bootstrap 5 the UI looks fine without any patches.
So this issue may be obsolete unless someone can explain what is still broken in the latest version and how to reproduce it.