Skip to content

Commit

Permalink
fix: fix header small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora committed Sep 25, 2023
1 parent 2e8fb24 commit b781223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
19 changes: 4 additions & 15 deletions frontend/src/assets/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@

.heading-buttons {
display: flex;
flex-grow: 1;
justify-content: flex-end;
gap: 1.5rem;
--cds-text-inverse: var(--light-theme-text-text-primary);
--cds-button-tertiary: var(--dark-theme-button-button-tertiary);
Expand Down Expand Up @@ -249,14 +251,10 @@ hr {
}
.heading {
display: flex;
padding: 0.9375rem 2rem 0.9375rem 0.5rem;
padding: 0.9375rem 0.5rem 0.9375rem 0.5rem;
align-items: flex-start;
gap: 0.1875rem;
}
.heading-space {
flex: 1 0 0;
align-self: stretch;
}
.heading-button-transparent {
display: flex;
width: 12.375rem;
Expand Down Expand Up @@ -750,11 +748,6 @@ cds-modal {
display: none;
}

.heading-space {
width: 2rem;
flex-shrink: 0;
}

.form-header {
align-self: stretch;
}
Expand Down Expand Up @@ -798,14 +791,10 @@ cds-modal {
}

.heading {
padding: 0.9375rem 2rem 0.9375rem 0.5rem;
padding: 0.9375rem 0.5rem 0.9375rem 0.5rem;
flex-shrink: 0;
}

.heading-space {
width: 8.75rem;
}

.form-header {
align-self: stretch;
}
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/MainHeaderComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ const logoutModalActive = ref(false);
<span class="heading-compact-01" v-else>Client Management System</span>
<span class="heading-compact-01" v-if="env !== 'Prod'">Env. {{ env }} - Rel. {{appVersion}}</span>
</div>

<div class="heading-space"></div>

<div class="heading-buttons">

Expand Down

0 comments on commit b781223

Please sign in to comment.