Skip to content

Commit

Permalink
Fixed padding on dev place page (#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)
  • Loading branch information
dwnoble authored Dec 9, 2024
1 parent 480a56e commit 4342b8f
Show file tree
Hide file tree
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
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion static/css/place/dev_place_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4342b8f

Please sign in to comment.