Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing lists on map #1208

Merged
merged 6 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
max-height inside event-list-item changed from 90px to fit-content
  • Loading branch information
Daniela Bilá committed Nov 22, 2023
commit 33026969b7d5a4eb6a5c66412f57befb4bb240a8
5 changes: 3 additions & 2 deletions imports/client/ui/pages/Map/EventsFilter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class FiltersList extends Component {
key={index}
className="checkbox"
style={{
marginLeft: category.parent !== true ? '20px' : '0px',
//marginLeft: category.parent !== true ? '20px' : '0px',
paddingLeft: category.parent !== true ? '2em' : '0em',
color: category.color,
display: category.hidden === true ? 'none' : 'block'
}}
Expand All @@ -79,7 +80,7 @@ class FiltersList extends Component {
onChange={this.handleFilterChange}
onClick={category.parent === true ? this.expandCategory : null}
/>
<Label
<Label
check
for={'filter-' + index}
>
Expand Down
8 changes: 6 additions & 2 deletions imports/client/ui/pages/Map/EventsFilter/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
top: 0;
left: 0;
height: calc(100vh - #{$menu-height});
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
//box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
transform: translate($map-events-list-width, calc(-100vh - #{$menu-height}));
transition: transform .3s ease;
will-change: transform;
Expand Down Expand Up @@ -77,4 +77,8 @@
};
}
}
}
//added margin to justify text alignemnt next to checkbox.
.form-check-label{
margin-left: 0.5em;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.event-list-item {
position: relative;
min-height: 90px;
max-height: 90px;
max-height: fit-content;
border-radius: 0 !important;
border-right: 0;
border-left: 0;
Expand Down