Skip to content

Commit

Permalink
Merge branch 'main' of bitbucket.org:quoin/primero into r2-2620-main-…
Browse files Browse the repository at this point in the history
…develop-10-23
  • Loading branch information
jtoliver-quoin committed Oct 23, 2023
2 parents 8f9cc40 + 8521edf commit 6424469
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 164 deletions.
161 changes: 0 additions & 161 deletions app/javascript/components/insights-sub-report/container.unit.test.js

This file was deleted.

8 changes: 6 additions & 2 deletions app/javascript/components/nav/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,16 @@ const Nav = () => {
<Divider />
</Hidden>
</div>
<NetworkIndicator />
<div className={css.navNetworkIndicator}>
<NetworkIndicator />
</div>
<List className={css.navList}>{permittedMenuEntries(APPLICATION_NAV(permissions, userId))}</List>
<div className={css.navAgencies}>
<AgencyLogo />
</div>
<TranslationsToggle />
<div className={css.navTranslationsToggle}>
<TranslationsToggle />
</div>
</>
);

Expand Down
57 changes: 56 additions & 1 deletion app/javascript/components/nav/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,26 @@

@media (min-width:960px) and (max-width:1279.95px) {
.drawerPaper, .drawerPaper-demo {
width: 3.8em;
width: 4.1em;
overflow-x: hidden;
}

.drawerPaper::-webkit-scrollbar,
.drawerPaper-demo::-webkit-scrollbar {
width: 0.4em
}

.drawerPaper::-webkit-scrollbar-track,
.drawerPaper-demo::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.00);
}

.drawerPaper::-webkit-scrollbar-thumb,
.drawerPaper-demo::-webkit-scrollbar-thumb {
background-color: grey;
outline: 1px solid grey;
}

.listIcon {
min-width: 5.5em;
}
Expand All @@ -170,3 +186,42 @@
display: none;
}
}

@media (max-width:1279.95px),
only screen and (pointer: coarse) and (max-width:1279.95px) {
.navNetworkIndicator {
& div {
margin: 0 7px 0 8px;
padding: 4px 8px 4px 6px;
}
}
.navTranslationsToggle {
& button {
padding-left: 8px;
}
}
}

@media only screen and (pointer: fine) and (max-width:1279.95px) {
.navNetworkIndicator {
& div {
margin: 0 3px 0 5px;
padding: 4px 8px 4px 5px;
}
}
}

@media (pointer: fine) and (max-width:1279.95px) {
.navNetworkIndicator {
& div {
margin: 0 10px 0 10px;
padding: 4px 8px 4px 6px;
}
}
.navTranslationsToggle {
& button {
padding-left: 8px;
}
}
}

1 change: 1 addition & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
SECRET_VARS_release_2_4: 'PrimeroCicdSecretrelease-2-4'
SECRET_VARS_release_2_5: 'PrimeroCicdSecretrelease-2-5'
SECRET_VARS_release_2_6: 'PrimeroCicdSecretrelease-2-6'
SECRET_VARS_release_2_7: 'PrimeroCicdSecretrelease-2-7'

phases:
pre_build:
Expand Down

0 comments on commit 6424469

Please sign in to comment.