Skip to content

Commit ea97125

Browse files
authored
Update: Control content max width via variable (fixes #130) (#131)
1 parent d14caaa commit ea97125

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

less/boxMenu.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
.boxmenu {
2-
.l-container-responsive(@max-width);
2+
.l-container-responsive(@max-page-width);
33

44
&__header-inner {
5-
.l-container-responsive(@device-width-large);
5+
.l-container-responsive(@max-content-width);
66
}
77

88
&__item-container &__item-container-inner {
99
display: flex;
1010
flex-wrap: wrap;
11-
.l-container-responsive(@device-width-large);
11+
.l-container-responsive(@max-content-width);
1212
}
1313
}
1414

less/boxMenuGroup.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.boxmenu-group {
22
&__header-inner {
3-
.l-container-responsive(@device-width-large);
3+
.l-container-responsive(@max-content-width);
44
}
55

66
&__item-container-inner {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "adapt-contrib-boxMenu",
33
"version": "6.1.0",
4-
"framework": ">=5.22.6",
4+
"framework": ">=5.24.2",
55
"homepage": "https://github.com/adaptlearning/adapt-contrib-boxMenu",
66
"bugs": "https://github.com/adaptlearning/adapt-contrib-boxMenu/issues",
77
"menu": "boxMenu",

0 commit comments

Comments
 (0)