Skip to content

Commit 2fa4675

Browse files
* geosolutions-it#11994: UI Review - fixing UI issue in upload map template - fix UI issue in camera position for 3D - fix UI issue in navbar beside the search tool * - set background of navbar contaier to be white
1 parent 933eba4 commit 2fa4675

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

web/client/components/resources/forms/Metadata.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Metadata extends React.Component {
8181

8282
render() {
8383
const title = get(this.props.resource, 'attributes.title', "");
84-
return (<form ref="metadataForm" onSubmit={this.handleSubmit}>
84+
return (<form ref="metadataForm" className="d-grid" onSubmit={this.handleSubmit}>
8585
<FormGroup>
8686
<ControlLabel>{this.props.nameFieldText}</ControlLabel>
8787
<FormControl

web/client/plugins/CameraPosition/CameraPosition.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ const CameraPositionButton = connect((state) => ({
4848
glyphicon: "camera",
4949
btnConfig: { className: 'square-button' },
5050
style: {
51-
height: '25px',
52-
width: '25px'
51+
height: '22px',
52+
width: '22px'
5353
}
5454
}), { showCameraPosition, hideCameraPosition }, (stateProps, dispatchProps) => {
5555
return { ...stateProps, onClick: () => {

web/client/themes/default/less/common.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,6 @@ div:has(.security-popup-dialog) .modal-backdrop.in {
468468
border-bottom-right-radius: @border-radius-base;
469469
}
470470
}
471-
471+
.d-grid{
472+
display: grid;
473+
}

web/client/themes/default/less/map-footer.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@
152152
overflow: hidden;
153153
font-size: 11px;
154154
}
155+
#mapstore-cameraposition{
156+
height: 25px;
157+
}
155158
}
156159

157160
.ms-prj-selector {

web/client/themes/default/less/navbar.less

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
// Theme
1111
// **************
1212

13-
// #ms-components-theme(@theme-vars) {}
13+
#ms-components-theme(@theme-vars) {
14+
#mapstore-navbar-container {
15+
.background-color-var(@theme-vars[main-bg], true);
16+
}
17+
}
1418

1519
// **************
1620
// Layout
@@ -61,7 +65,7 @@ ol {
6165
}
6266

6367
#mapstore-navbar-container {
64-
height: @square-btn-size;
68+
height: 40px;
6569
.nav {
6670
&.pull-left {
6771
display: flex;
@@ -77,5 +81,7 @@ ol {
7781
}
7882
}
7983
}
80-
84+
.dropdown > button{
85+
margin: 5px;
86+
}
8187
}

0 commit comments

Comments
 (0)