Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved CSS and height/width to custom CSS file
From Django 4.2, map_height/map_width are deprecated and Django recommends setting the map sizes in external CSS instead.
- Loading branch information
Showing
4 changed files
with
32 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.leaflet-container { | ||
width: min(calc(100vw - 30px), 720px); | ||
height: 400px; | ||
} | ||
|
||
/* Fixes for Django base.css */ | ||
.module .leaflet-draw ul { | ||
margin-left: 0px; | ||
padding-left: 0px; | ||
} | ||
.module .leaflet-draw ul li { | ||
list-style-type: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters