Merge pull request #18193 from edx/alasdair/LEARNER-5273-cookie-banner-mobile-layout-fix

LEARNER-5273 Update how the mobile menu interacts with the cookie pol…
This commit is contained in:
AlasdairSwan
2018-05-15 11:38:59 -04:00
committed by GitHub
3 changed files with 16 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
.global-header {
box-sizing: border-box;
width: 100%;
position: relative;
overflow: hidden;
padding-bottom: $baseline/2;
border-bottom: 1px solid theme-color("primary");
@@ -13,6 +14,10 @@
background: theme-color("inverse");
line-height: 1.5;
@include media-breakpoint-up(lg) {
position: inherit;
}
/*
Logo and course identification block
*/
@@ -66,6 +71,12 @@
}
}
.edx-cookie-banner-wrapper {
.edx-cookie-banner {
min-width: 0;
}
}
/*
Main navigation buttons for Courses, programs, profile and explore buttons.
@@ -241,6 +252,7 @@
@include media-breakpoint-down(md) {
.main-header {
height: $header-logo-height;
position: inherit;
}
// Display the menu icon and allow for transition to an X on click

6
package-lock.json generated
View File

@@ -5,9 +5,9 @@
"requires": true,
"dependencies": {
"@edx/cookie-policy-banner": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/@edx/cookie-policy-banner/-/cookie-policy-banner-1.1.7.tgz",
"integrity": "sha512-Zzyg8LHjWFQrc8xMR3vJEMgKtMiHdiZ8BuwnLFhc4AUsVVzIBIYsbgSf7gXr4XC+0WRcT4uoKcMaTJ5xitWaHw==",
"version": "1.1.8",
"resolved": "https://registry.npmjs.org/@edx/cookie-policy-banner/-/cookie-policy-banner-1.1.8.tgz",
"integrity": "sha512-vDofWvpEZTCKJA9Ehg+y/EEEtdeEhcUnIIcg9WW8NLYVHcTpbTuKHwi9w63tY5bRyOyJ+KS4pemFQRFM7C5Qjw==",
"requires": {
"@edx/edx-bootstrap": "0.4.3",
"@edx/paragon": "2.6.4",

View File

@@ -2,7 +2,7 @@
"name": "edx",
"version": "0.1.0",
"dependencies": {
"@edx/cookie-policy-banner": "1.1.7",
"@edx/cookie-policy-banner": "1.1.8",
"@edx/edx-bootstrap": "0.4.3",
"@edx/paragon": "2.6.4",
"@edx/studio-frontend": "1.9.9",