Skip to content

Commit

Permalink
Merge pull request #707 from Emurgo/sebastiengllmt/ch1593/fix-buggy-a…
Browse files Browse the repository at this point in the history
…rea-for-send-all-button

[bugfix] Use fit-content on checkbox
  • Loading branch information
nicarq authored Jul 2, 2019
2 parents 9623049 + f32b3a4 commit 4caf8b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/components/wallet/send/WalletSendForm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

.checkbox {
font-family: var(--font-mono-light);
width: fit-content;
}
}

Expand Down
4 changes: 4 additions & 0 deletions app/themes/overrides/CheckboxOverrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

.root {
align-items: center;

// Remove once this PR is merged
// https://github.com/input-output-hk/react-polymorph/pull/118
width: fit-content;

.checked {
background-color: var(--rp-checkbox-check-bg-color);
Expand Down
6 changes: 6 additions & 0 deletions app/themes/overrides/CheckboxOverridesClassic.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Css module overrides go here …

.root {
// Remove once this PR is merged
// https://github.com/input-output-hk/react-polymorph/pull/118
width: fit-content;
}

.check {
// manually setting the z-index is a temporary fix until this PR is merged & we upgrade the lib
// https://github.com/input-output-hk/react-polymorph/pull/99
Expand Down

0 comments on commit 4caf8b0

Please sign in to comment.