Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed padding on dev place page (datacommonsorg#4780)
Browse files Browse the repository at this point in the history
* Fixed dev place page to have `padding-top: 48px;`
* Removed extra tag with id="main" which was adding to the padding

## Before
![Screenshot 2024-12-09 at 3 22
20 PM](https://github.com/user-attachments/assets/2f7abf55-c134-4bd3-b364-91c6cfadebd5)


## After
![Screenshot 2024-12-09 at 3 20
07 PM](https://github.com/user-attachments/assets/719aeb1c-fda9-46ab-a9e3-6dc8f710c5be)
dwnoble authored and gmechali committed Dec 10, 2024
1 parent d4629a5 commit 651e873
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/templates/dev_place.html
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@
data-place-summary="{{place_summary}}"
data-place-subheader="{{place_type_with_parent_places_links}}"
></div>
<div id="main" class="container">
<div id="plage-page-main" class="container">
<div id="place-page-content" class="page-content-container">
</div>
</div>
2 changes: 1 addition & 1 deletion static/css/place/dev_place_page.scss
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ $horizontal-divider-style: 1px solid rgba(0, 0, 0, 0.12);

main {
// Leave space on top for navbar and bottom for footer
padding: 24px 0;
padding: 48px 0 24px 0;
}

.page-content-container {

0 comments on commit 651e873

Please sign in to comment.