Skip to content

Commit

Permalink
(fix) App switcher UI tweaks (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Dec 4, 2023
1 parent dd97b8d commit 4c8a8fb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
5 changes: 4 additions & 1 deletion packages/apps/esm-login-app/src/logout/logout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

.logout {
padding-right: 0rem;
@include brand-02(background-color);
@extend .productiveHeading01;
width: 16rem;

&:hover {
@include brand-01(background-color);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,18 @@ const OfflineActionsModeButton: React.FC = () => {

return (
<div className={styles.offlineModeButtonContainer}>
<Network_3 size={20} />
<div onClick={doNotCloseMenu} role="none">
<span>{t("offlineReady", "Offline Ready")}</span>
<Toggle
className={styles.toggle}
id="offlineModeSwitch"
toggled={active}
onToggle={toggle}
/>
<div>
<Network_3 size={20} />
<span onClick={doNotCloseMenu} role="none">
{t("offlineReady", "Offline Ready")}
</span>
</div>
<Toggle
className={styles.toggle}
id="offlineModeSwitch"
toggled={active}
onToggle={toggle}
/>
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: flex;
flex-direction: row;
width: 16rem;
justify-content: flex-start;
justify-content: space-between;
color: $field-01;
align-items: center;
@extend .bodyLong01;
Expand All @@ -17,7 +17,7 @@
}

:global(.cds--toggle) {
margin: 0 0 1rem 1rem;
margin: 0 1rem;
}

:global(.cds--toggle__text) {
Expand Down

0 comments on commit 4c8a8fb

Please sign in to comment.