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.
The use of content-box in your CSS is causing design breaks. This switches all content-box box-sizing to border-box, which solves the issue.
Comment | File | Size | Author |
---|---|---|---|
#2 | update-css-1908552-3.patch | 5.25 KB | Snugug |
#1 | content-box-to-border-box-1908552-2.patch | 821 bytes | Snugug |
Comments
Comment #1
Snugug CreditAttribution: Snugug commentedHere's the patch
Comment #2
Snugug CreditAttribution: Snugug commentedScratch that last patch, it's actually a slightly different issue. If you're on a frontend that has
*{box-sizing: border-box;}
, the content-box in#coffee-q
is breaking the design. This patch does the following:border-box
to all coffee related elements making it work across all themes, overall box sizing notwithstandingComment #3
heylookalive CreditAttribution: heylookalive commentedThanks for your efforts! :) I've committed the CSS changes but have chosen not to bring in SASS (I recently removed LESS) as I don't feel it's necessary considering the size of the CSS file for the module.
http://drupalcode.org/project/coffee.git/commit/098b360
Thanks!
Comment #4
heylookalive CreditAttribution: heylookalive commented