Skip to content

Commit

Permalink
fix map legend position
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielburnworth committed Dec 16, 2023
1 parent e24fa8a commit e21df02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/css/farm_designer/farm_designer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -671,11 +671,11 @@
.garden-map-legend {
position: fixed;
top: 110px;
right: -140px;
right: -155px;
z-index: 3;
transition: all 0.4s ease;
&.active {
transform: translateX(-150px);
transform: translateX(-165px);
}
.content {
display: flex;
Expand Down
8 changes: 5 additions & 3 deletions frontend/css/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ a {
.sensor-selection,
.sensor-history-time-selection,
.sensor-history-location-selection {
margin-bottom: 1rem;
margin-bottom: 1rem !important;
}
.row {
margin-bottom: 0 !important;
Expand All @@ -775,7 +775,9 @@ a {
.add-sensor-reading-menu {
width: 300px;
.green {
margin-bottom: 1rem;
position: absolute;
bottom: 1rem;
right: 1rem;
}
.reading-location,
.add-reading-value-form {
Expand Down Expand Up @@ -1782,7 +1784,7 @@ ul {
width: 2rem;
height: 2rem;
text-align: center;
line-height: 1.7rem;
line-height: 1.3rem;
margin-left: 5px;
}
.markdown {
Expand Down

0 comments on commit e21df02

Please sign in to comment.