Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
issue: i had GCC block to my sidebar second region under bartik theme. but it was not displaying inside the block layout.it was going out of block.
solution: add custom css to show reflection only on provided block.
Comment | File | Size | Author |
---|---|---|---|
#16 | node-1-source.png | 244 KB | Manjit.Singh |
#16 | node-1.png | 67.9 KB | Manjit.Singh |
#16 | front_page_source.png | 254.79 KB | Manjit.Singh |
#16 | front_page.png | 73.61 KB | Manjit.Singh |
#14 | interdiff.txt | 1.47 KB | Manjit.Singh |
Comments
Comment #2
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commentedadded custom css for block and applied patch
Comment #3
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commentedComment #4
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commentedComment #5
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commentedcheck updated code base. applied latest patch.
Comment #7
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commentedComment #8
naveenvalecha#2 patch needs reroll.
Comment #9
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commented@naveenvalecha
rerolled a patch.
Comment #10
naveenvalechause #attributes property on both the select list elements and add a common class and then use that common class to stylize it.
remove version constant from here. this VERSION refer to core version. See line 84 https://api.drupal.org/api/drupal/core%21lib%21Drupal.php/8
Comment #11
xaiwant CreditAttribution: xaiwant as a volunteer and at Valuebound commentedAs per above statement
made the changes
Added attribute to apply common css
Removed version constant
Comment #12
naveenvalechaThe patch in #11 was not able to apply.
Recreate the patch.
Pinged the manjit.singh to provide his thoughts/review on the css & css files structure.
Manjit, would you also take a look that why css is not applying.
Thanks!
Comment #13
Manjit.SinghI have change couple of things in libraries, info and css file that was missed in previous one.
@Naveen Please review the patch file.
Comment #14
Manjit.SinghI missed the interdiff file, So here it is.
Comment #15
naveenvalecha+1 Nice
Why we have to define the libraries here ? We don't want to attach/load this library on every single page.
Comment #16
Manjit.SinghNo, Style will not be call on each and every page, that's a cool thing, i like in drupal 8. Just for an example I have captured couple of screenshots.
Please check the screenshots.
Comment #17
naveenvalechaAlright Thanks Manjit! for the explanation. We are good to go.
Comment #18
naveenvalechaCommitted and pushed to 8.x-1.x