Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_wcms_gesso
Commits
526b4437
Commit
526b4437
authored
Aug 24, 2021
by
Martin Leblanc
Browse files
addition css to correct the mobile menu in firefox
parent
7b45f779
Changes
5
Hide whitespace changes
Inline
Side-by-side
css/styles.css
View file @
526b4437
...
...
@@ -8466,14 +8466,15 @@ fieldset .fieldset-wrapper .webform-container-inline .fieldset-invisible,
.uw-horizontal-nav--menu
.menu
.submenu-active
.menu--subnav
.menu--item__parent
.menu--link-parent
::after
{
right
:
-1rem
;
}
}
.uw-horizontal-nav--menu
.menu
.sub-1
{
/* for Chrome and Edge Brave Opera */
-moz-column-break-inside
:
avoid
;
break-inside
:
avoid
;
/* for Firefox */
display
:
inline-grid
;
page-break-inside
:
avoid
;
}
@media
(
min-width
:
48.06rem
)
{
.uw-horizontal-nav--menu
.menu
.sub-1
{
/* for Chrome and Edge Brave Opera */
-moz-column-break-inside
:
avoid
;
break-inside
:
avoid
;
/* for Firefox */
display
:
inline-grid
;
page-break-inside
:
avoid
;
}
}
.uw-horizontal-nav--secondary
{
max-width
:
100%
;
...
...
css/styles.min.css
View file @
526b4437
This source diff could not be displayed because it is too large. You can
view the blob
instead.
js/component_scripts.min.js
View file @
526b4437
/**
* @file
* Ckeditor Modal.
*/
(
function
(
$
,
Drupal
)
{
if
(
$
.
ui
&&
$
.
ui
.
dialog
)
{
orig_allowInteraction
=
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
;
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
=
function
(
event
)
{
if
(
$
(
event
.
target
).
closest
(
'
.cke_dialog
'
).
length
)
{
return
true
;
}
return
orig_allowInteraction
.
apply
(
this
,
arguments
);
};
}
})(
jQuery
,
Drupal
);
/**
* @file
*/
...
...
@@ -390,6 +373,23 @@ else {
};
})(
jQuery
);
/**
* @file
* Ckeditor Modal.
*/
(
function
(
$
,
Drupal
)
{
if
(
$
.
ui
&&
$
.
ui
.
dialog
)
{
orig_allowInteraction
=
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
;
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
=
function
(
event
)
{
if
(
$
(
event
.
target
).
closest
(
'
.cke_dialog
'
).
length
)
{
return
true
;
}
return
orig_allowInteraction
.
apply
(
this
,
arguments
);
};
}
})(
jQuery
,
Drupal
);
/**
* @file
*/
...
...
source/_annotations/annotations.js
View file @
526b4437
/**
* @file
*/
var
comments
=
{
"
comments
"
:
[
{
...
...
source/_patterns/04-components/menu/menu--horizontal/_menu--horizontal.scss
View file @
526b4437
...
...
@@ -511,12 +511,13 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
}
}
.sub-1
{
/* for Chrome and Edge Brave Opera */
break-inside
:
avoid
;
/* for Firefox */
display
:
inline-grid
;
page-break-inside
:
avoid
;
@include
medium
{
/* for Chrome and Edge Brave Opera */
break-inside
:
avoid
;
/* for Firefox */
display
:
inline-grid
;
page-break-inside
:
avoid
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment