Skip to content

Commit

Permalink
display note without selection,fixed dark mode bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nischal-shetty2 committed Nov 6, 2024
1 parent bc9e416 commit 8360ae0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
5 changes: 5 additions & 0 deletions src/components/jar_details/JarDetailsOverlay.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
background-color: var(--bs-gray-800) !important;
}

:root[data-theme='dark'] .freezeUnfreezeButtonsContainer button:disabled {
color: var(--bs-gray-400) !important;
border-color: var(--bs-gray-500) !important;
}

:root[data-theme='dark'] .freezeUnfreezeButtonsContainer button:hover {
background-color: var(--bs-gray-900) !important;
border-color: var(--bs-gray-900) !important;
Expand Down
22 changes: 11 additions & 11 deletions src/components/jar_details/JarDetailsOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,20 +370,20 @@ const JarDetailsOverlay = (props: JarDetailsOverlayProps) => {
</Trans>
</div>
</div>
{!isActionsEnabled && (
<div className="d-flex align-items-center mb-2 fw-bold text-secondary">
<Sprite
className="rounded-circle border border-1 me-2 border-secondary"
symbol="info"
width="20"
height="20"
/>
<Trans i18nKey="jar_details.utxo_list.subtitle_options_disabled" />
</div>
)}
{selectedUtxos.length > 0 && (
<div className="d-flex justify-content-between align-items-center w-100 flex-sm-row flex-column gap-2">
<div className="order-1 order-sm-0">
{!isActionsEnabled && (
<div className="d-flex align-items-center mb-2 fw-bold text-secondary">
<Sprite
className="rounded-circle border border-1 me-2"
symbol="info"
width="20"
height="20"
/>
<Trans i18nKey="jar_details.utxo_list.subtitle_options_disabled" />
</div>
)}
<div className={styles.freezeUnfreezeButtonsContainer}>
{freezeButton}
{unfreezeButton}
Expand Down

0 comments on commit 8360ae0

Please sign in to comment.