Skip to content

Commit

Permalink
slidefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd committed Dec 4, 2023
1 parent 247b291 commit 7890deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions scss/ui/_slidenav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@
width: 100%;
will-change: transform;
z-index: 1000;
height: unset;

&.absolute {
position: absolute;
height: 0;
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/controls/legend/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,9 @@ const Group = function Group(viewer, options = {}) {
const GroupHeader = function GroupHeader() {
const headerComponent = CollapseHeader({
cls: 'hover padding-x padding-y-small grey-lightest border-bottom text-small sticky bg-white z-index-low item wrap',
style: 'top: 0;',
style: `top: 0;${moreInfoButton ? 'padding-right: 0.275rem' : ''}`,
icon,
title,

Check failure on line 134 in src/controls/legend/group.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected trailing comma

Check failure on line 134 in src/controls/legend/group.js

View workflow job for this annotation

GitHub Actions / lint

Unexpected trailing comma
style: `${moreInfoButton ? 'padding-right: 0.275rem' : ''}`
});
if (moreInfoButton) {
headerComponent.on('render', function hcRender() {
Expand Down

0 comments on commit 7890deb

Please sign in to comment.