How to reproduce:
1. Activate a theme which has a block with the block title in the top right corner
2. Open "Block Layout" and click on "Demonstrate block regions (My Theme)"
3. Observe that the "Exit block region demonstration" button overlaps the title of the top right block
Expected Results:
I would expect that the "Exit block region demonstration" is either designed in such a way that the button is always above the top most block such that it can never overlap the block it self, or that the button is positioned somewhere else where it cannot overlap the blocks (e.g. move it to the admin navigation bar).
Additional Information:
The default "Bartik" theme centers the block titles and so with this theme the bug is not that problematic as the "Exit block region demonstration" button only overlaps part of the yellow block region but there is no text that is being overlapped.
I have attached two pictures demonstrating the problem (Section _031.png) and how I would expect it to look like (Section_032.png). This can be easily achieved by the following change.
a.block-demo-backlink, a.block-demo-backlink:link, a.block-demo-backlink:visited {
- position: fixed
}
That is in the above selector remove the option for fixed position. But this is just a workaround that has worked for me, the Drupal CSS experts can probably figure out a better way to fix this.
Comment | File | Size | Author |
---|---|---|---|
#3 | exit-block-region-suggestion.png | 18.61 KB | arifkhn46 |
Selection_032.png | 9.51 KB | Lanoxx | |
Selection_031.png | 6.44 KB | Lanoxx |
Comments
Comment #3
arifkhn46 CreditAttribution: arifkhn46 as a volunteer commentedI this could be resolved by aligning text to centre
Comment #7
Lanoxx CreditAttribution: Lanoxx commentedClosing this as I cannot reproduce it with the latest version.