Skip to content

Commit

Permalink
Merge branch 'develop' into circularNotSpacedButtonMargin
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored Apr 29, 2024
2 parents bc4a9d3 + fa62639 commit 11258df
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 17 deletions.
12 changes: 11 additions & 1 deletion src/definitions/modules/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,17 @@

destroy: function () {
module.verbose('Destroying previous calendar for', element);
$module.removeData(moduleNamespace);
$module.removeData([
metadata.date,
metadata.focusDate,
metadata.startDate,
metadata.endDate,
metadata.minDate,
metadata.maxDate,
metadata.mode,
metadata.monthOffset,
moduleNamespace,
]);
module.unbind.events();
module.disconnect.classObserver();
},
Expand Down
32 changes: 16 additions & 16 deletions src/definitions/modules/dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -468,84 +468,84 @@ select.ui.dropdown {

@media only screen and (max-width: @largestMobileScreen) {
& when (@variationDropdownShort) {
.ui.selection.dropdown.short .menu {
.ui.ui.selection.dropdown.short .menu {
max-height: @selectionMobileMaxMenuHeight * 0.75;
}
.ui.selection.dropdown[class*="very short"] .menu {
.ui.ui.selection.dropdown[class*="very short"] .menu {
max-height: @selectionMobileMaxMenuHeight * 0.5;
}
}
.ui.selection.dropdown:not(.unlimited) .menu {
max-height: @selectionMobileMaxMenuHeight;
}
& when (@variationDropdownLong) {
.ui.selection.dropdown.long .menu {
.ui.ui.selection.dropdown.long .menu {
max-height: @selectionMobileMaxMenuHeight * 2;
}
.ui.selection.dropdown[class*="very long"] .menu {
.ui.ui.selection.dropdown[class*="very long"] .menu {
max-height: @selectionMobileMaxMenuHeight * 3;
}
}
}
@media only screen and (min-width: @tabletBreakpoint) {
& when (@variationDropdownShort) {
.ui.selection.dropdown.short .menu {
.ui.ui.selection.dropdown.short .menu {
max-height: @selectionTabletMaxMenuHeight * 0.75;
}
.ui.selection.dropdown[class*="very short"] .menu {
.ui.ui.selection.dropdown[class*="very short"] .menu {
max-height: @selectionTabletMaxMenuHeight * 0.5;
}
}
.ui.selection.dropdown:not(.unlimited) .menu {
max-height: @selectionTabletMaxMenuHeight;
}
& when (@variationDropdownLong) {
.ui.selection.dropdown.long .menu {
.ui.ui.selection.dropdown.long .menu {
max-height: @selectionTabletMaxMenuHeight * 2;
}
.ui.selection.dropdown[class*="very long"] .menu {
.ui.ui.selection.dropdown[class*="very long"] .menu {
max-height: @selectionTabletMaxMenuHeight * 3;
}
}
}
@media only screen and (min-width: @computerBreakpoint) {
& when (@variationDropdownShort) {
.ui.selection.dropdown.short .menu {
.ui.ui.selection.dropdown.short .menu {
max-height: @selectionComputerMaxMenuHeight * 0.75;
}
.ui.selection.dropdown[class*="very short"] .menu {
.ui.ui.selection.dropdown[class*="very short"] .menu {
max-height: @selectionComputerMaxMenuHeight * 0.5;
}
}
.ui.selection.dropdown:not(.unlimited) .menu {
max-height: @selectionComputerMaxMenuHeight;
}
& when (@variationDropdownLong) {
.ui.selection.dropdown.long .menu {
.ui.ui.selection.dropdown.long .menu {
max-height: @selectionComputerMaxMenuHeight * 2;
}
.ui.selection.dropdown[class*="very long"] .menu {
.ui.ui.selection.dropdown[class*="very long"] .menu {
max-height: @selectionComputerMaxMenuHeight * 3;
}
}
}
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
& when (@variationDropdownShort) {
.ui.selection.dropdown.short .menu {
.ui.ui.selection.dropdown.short .menu {
max-height: @selectionWidescreenMaxMenuHeight * 0.75;
}
.ui.selection.dropdown[class*="very short"] .menu {
.ui.ui.selection.dropdown[class*="very short"] .menu {
max-height: @selectionWidescreenMaxMenuHeight * 0.5;
}
}
.ui.selection.dropdown:not(.unlimited) .menu {
max-height: @selectionWidescreenMaxMenuHeight;
}
& when (@variationDropdownLong) {
.ui.selection.dropdown.long .menu {
.ui.ui.selection.dropdown.long .menu {
max-height: @selectionWidescreenMaxMenuHeight * 2;
}
.ui.selection.dropdown[class*="very long"] .menu {
.ui.ui.selection.dropdown[class*="very long"] .menu {
max-height: @selectionWidescreenMaxMenuHeight * 3;
}
}
Expand Down

0 comments on commit 11258df

Please sign in to comment.