diff --git a/src/pages/detail/detail-simpledeal-funded.html b/src/pages/detail/detail-simpledeal-funded.html index 40d3860e..e5616223 100644 --- a/src/pages/detail/detail-simpledeal-funded.html +++ b/src/pages/detail/detail-simpledeal-funded.html @@ -55,6 +55,10 @@ @apply --layout-flex; @apply --body-default; color: var(--sc-grey4); + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; } .price { @@ -162,6 +166,27 @@ opacity: 0.5; } + + .dont-break-out { + + /* These are technically the same, but use both */ + overflow-wrap: break-word; + word-wrap: break-word; + + -ms-word-break: break-all; + /* This is the dangerous one in WebKit, as it breaks things wherever */ + word-break: break-all; + /* Instead use this non-standard one: */ + word-break: break-word; + + /* Adds a hyphen where the word breaks, if supported (No Blink) */ + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; + + } + @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-resolution: 240dpi) { @@ -175,7 +200,7 @@ @@ -322,6 +353,9 @@ _fund() { this.dispatchEvent(new CustomEvent('fund')); } + _deselect() { + this.dispatchEvent(new CustomEvent('deselect')); + } /** * Verifies user balance and displays error message */ diff --git a/src/pages/detail/detail-simpledeal.html b/src/pages/detail/detail-simpledeal.html index 773c66db..046f4795 100644 --- a/src/pages/detail/detail-simpledeal.html +++ b/src/pages/detail/detail-simpledeal.html @@ -112,7 +112,7 @@ -