Closed (fixed)
Project:
EU Cookie Compliance (GDPR Compliance)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2017 at 05:28 UTC
Updated:
11 Mar 2018 at 13:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
LNakamura commentedComment #3
shrop commentedConsider adding configuration to adjust the max-width px setting in JS so it doesn't have to be hardcoded. I bet someone here can confirm if that makes sense and patch it up.
Comment #4
LNakamura commentedFixed a bug (new message wasn't being saved on config save), and changed the max-width to 600px in the JS, which matches the media query in eu_cookie_compliance.css.
Comment #5
LNakamura commentedThanks, @shrop - another option would be to follow what's outlined here: https://www.lullabot.com/articles/importing-css-breakpoints-into-javascript
Comment #6
LNakamura commentedComment #7
svenryen commentedHere's an improved patch that allows the user to input the mobile breakpoint. 600 makes little sense, so I adjusted it to 768 px. It's debatable whether the css also should have 768 as the breakpoint.
I also tidied up the admin form, so that the option is exposed only when clicking a checkbox.
Comment #9
svenryen commented