Incorrect media queries are used in custom-media.css and custom.js.

Now, when the screen width is 767px, the menu is not showing correctly.

Comments

BryanDeNijs created an issue. See original summary.

bryandenijs’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

This patch fixes the media queries.

bandanasharma’s picture

StatusFileSize
new87.17 KB
new172.13 KB

#2 patch is apply successfully and working fine. But indentation issue in custom.js file. Attached the after and before image for reference.

bryandenijs’s picture

StatusFileSize
new154.85 KB

#3 Not sure what you mean with "indentation issue in custom.js file".
Webpage looks good here, and custom.js is formatted correctly.

bandanasharma’s picture

StatusFileSize
new7.46 KB

#4 output of the patch is correct but in the js file indention is fine on 4 space but when it change according to js standard 4 to 2 space then it is not proper. Please find the attached screenshot.

bryandenijs’s picture

#5 Aha I see. This doesn't have anything to do with this issue or patch.
But since you are right, i created a new patch which will also solve the indenting/styling issue.

bandanasharma’s picture

#6 Patch is apply successfully and file is looking good. It is nice patch. In the patch you comment \ No newline at end of file and remove the line. But there always should be a new line after the end of the code, if you see all core file their is line, Drupal code follow this process.

bandanasharma’s picture

Status: Needs review » Reviewed & tested by the community
bryandenijs’s picture

#7 Thanks for testing! And whoops, you're right about the newline at end of the file.. PhpStorm messed up I think.

zymphonies-dev’s picture

Status: Reviewed & tested by the community » Fixed

Fixed and updated changes in latest release.

zymphonies-dev’s picture

Status: Fixed » Closed (fixed)
zymphonies-dev’s picture

Updated in latest release.