Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1095 changed modal layout for both on startup and empty results #1108

Merged
merged 7 commits into from
Oct 11, 2016
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions web/client/jsapi/mapstore2.css
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,7 @@

#mapstore-catalog-panel {
width: auto;
position: absolute;
right: 200px;
margin-top: 100px;
display: inline-block;
margin: 100px;
}

#mapstore-catalog-panel .record-item {
Expand Down
1 change: 1 addition & 0 deletions web/client/plugins/MetadataExplorer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const MetadataExplorerComponent = React.createClass({
id: "mapstore-metadata-explorer",
active: false,
wrap: false,
modal: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This have no effect, the modal parameter should be passed to the Dialog component.

wrapWithPanel: true,
panelStyle: {
minWidth: "300px",
Expand Down
5 changes: 1 addition & 4 deletions web/client/product/assets/css/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,7 @@ html, body, #container, .fill {

#mapstore-catalog-panel {
width: auto;
position: absolute;
right: 200px;
margin-top: 100px;
display: inline-block;
margin: 100PX;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not capital px. The style should be responsive (if the width of the window is smaller, it should be 0, for instance).

}

#mapstore-catalog-panel .record-item {
Expand Down