Skip to content

Commit

Permalink
fix: detail container height
Browse files Browse the repository at this point in the history
  • Loading branch information
bastyen committed Jul 26, 2024
1 parent fa715e0 commit 7781a86
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions src/components/grw-app/grw-app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ grw-app {
}

.grw-content-trek {
height: 100%;
height: calc(100% - var(--header-height) - var(--header-with-languages));
}

.grw-large-view-app-list-container,
Expand Down Expand Up @@ -152,14 +152,14 @@ grw-outdoor-sites-list {

grw-trek-detail {
position: relative;
max-height: calc(100vh - 64px - 48px);
max-height: calc(100% - 64px);
}

grw-touristic-content-detail,
grw-touristic-event-detail,
grw-outdoor-site-detail {
position: relative;
max-height: calc(100vh - 64px);
max-height: calc(100% - 64px);
}

.grw-app-map-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ export class GrwOutdoorCourseDetail {
? '44px'
: '12px'
: state.languages && state.languages.length > 1
? '244px'
: '204px',
? '164px'
: '124px',
}}
>
{this.currentOutdoorCourse && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,8 @@ export class GrwOutdoorSiteDetail {
? '44px'
: '12px'
: state.languages && state.languages.length > 1
? '244px'
: '204px',
? '164px'
: '124px',
}}
>
{this.currentOutdoorSite && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export class GrwTouristicContentDetail {
? '44px'
: '12px'
: state.languages && state.languages.length > 1
? '204px'
: '164px',
? '164px'
: '124px',
}}
>
{state.currentTouristicContent && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export class GrwTouristicEventDetail {
? '44px'
: '12px'
: state.languages && state.languages.length > 1
? '204px'
: '164px',
? '164px'
: '124px',
}}
>
{state.currentTouristicEvent && (
Expand Down
4 changes: 2 additions & 2 deletions src/components/grw-trek-detail/grw-trek-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -939,8 +939,8 @@ export class GrwTrekDetail {
? '44px'
: '12px'
: state.languages && state.languages.length > 1
? '244px'
: '204px',
? '164px'
: '124px',
}}
>
{this.currentTrek && (
Expand Down

0 comments on commit 7781a86

Please sign in to comment.