Skip to content

Commit

Permalink
Fix layer sidebar scroll height
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-va committed Jan 7, 2025
1 parent 1351ef6 commit 64c898a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion ui/src/components/navigation/navigation-layer-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ export class NavigationLayerPanel extends LitElementI18n {
ngm-navigation-layer-panel ngm-navigation-panel > section {
position: relative;
background-color: var(--color-bg--dark);
overflow-y: auto;
&:not(:last-child) {
max-height: 50%;
}
}
ngm-navigation-layer-panel ngm-navigation-panel > section > * {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/elements/dashboard/ngm-project-assets-section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {classMap} from 'lit/directives/class-map.js';
import {Asset} from './ngm-dashboard';
import '../../layers/ngm-layers-upload';
import {PROJECT_ASSET_MAX_SIZE} from '../../constants';
import {KmlUploadEvent} from '../../components/layers/upload/layer-upload-kml';
import type {KmlUploadEvent} from '../../components/layer/upload/layer-upload-kml';

@customElement('ngm-project-assets-section')
export class NgmProjectAssetsSection extends LitElementI18n {
Expand Down
1 change: 0 additions & 1 deletion ui/src/elements/ngm-map-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export class NgmMapConfiguration extends LitElementI18n {
}



render() {
return html`
<div class="base-map-labels">
Expand Down
2 changes: 1 addition & 1 deletion ui/src/elements/sidebar/ngm-menu-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {css, html} from 'lit';
import {classMap} from 'lit/directives/class-map.js';
import {IconKey} from '../../icons/icons';
import i18next from 'i18next';
import '../../components/core'
import '../../components/core';

@customElement('ngm-menu-item')
export class MenuItem extends LitElementI18n {
Expand Down

0 comments on commit 64c898a

Please sign in to comment.