Skip to content

Commit

Permalink
LayerTree3D layout tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 18, 2025
1 parent ad27b62 commit ae81731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/map3d/LayerTree3D.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class LayerTree3D extends React.Component {
renderBody = () => {
const sceneContext = this.props.sceneContext;
return (
<div className="layertree3d-item-container">
<div>
<div className="layertree3d-section">{LocaleUtils.tr("layertree3d.objects")}</div>
{Object.entries(sceneContext.sceneObjects).map(([objectId, entry]) => {
return this.renderLayerEntry(objectId, entry, sceneContext.updateSceneObject);
Expand Down
3 changes: 2 additions & 1 deletion components/map3d/style/LayerTree3D.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
display: flex;
align-items: center;
height: 1.75em;
margin-left: 0.25em;
}

#LayerTree3D span.layertree3d-item-checkbox {
Expand Down Expand Up @@ -36,7 +37,7 @@

#LayerTree3D div.layertree3d-section {
font-weight: bold;
margin-left: -0.25em;
margin-left: 0.25em;
}

#LayerTree3D span.layertree3d-item-menubutton {
Expand Down

0 comments on commit ae81731

Please sign in to comment.