Skip to content

Commit

Permalink
Fix padding of floating windows (GeoNode#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored Jun 24, 2021
1 parent 0682ae1 commit be23726
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions geonode_mapstore_client/client/themes/geonode/less/ms-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,16 @@
flex: 1;
}
}

// mapstore compute this value using @square-btn-size and @font-size-h4
// in this specific context those value have different uom
// we should override this to ensure to use rem and have the correct value for padding
.ms-resizable-modal > .modal-content > .modal-header {
height: (@font-size-h4 * 3);
padding: @font-size-h4;
}
// the input small size is not computed correctly due to rem value
// this override will fix the attribute table filter inputs
.input-sm {
height: 1.75rem;
}

0 comments on commit be23726

Please sign in to comment.