@@ -343,7 +363,7 @@
return (item && item.seekerAddress && this.address && item.seekerAddress == this.address);
}
- makeRequest (method, url, done) {
+ makeRequest(method, url, done) {
var xhr = new XMLHttpRequest();
xhr.open(method, url);
xhr.onload = function () {
@@ -356,17 +376,17 @@
}
_copyUrl() {
- if(this.$.shareplace.innerHTML == 'shareable link') {
+ if (this.$.shareplace.innerHTML == 'shareable link') {
var urltoShort = encodeURIComponent(window.location.href);
var shareUrl = this.makeRequest("GET", "https://i.swarm.city/s/" + urltoShort, (err, res) => {
this.$.shareplace.innerHTML = res;
this.$.shareplace.classList.add('force-select');
- });
- }
+ });
+ }
}
_resetShare() {
- this.$.shareplace.innerHTML ='shareable link';
+ this.$.shareplace.innerHTML = 'shareable link';
this.$.shareplace.classList.remove('force-select');
}
}
diff --git a/src/pages/detail/detail-simpledeal-replies.html b/src/pages/detail/detail-simpledeal-replies.html
index 999690cf..812651d1 100644
--- a/src/pages/detail/detail-simpledeal-replies.html
+++ b/src/pages/detail/detail-simpledeal-replies.html
@@ -84,6 +84,10 @@
@apply --body-default;
color: var(--sc-grey4);
box-sizing: border-box;
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ -ms-user-select: text;
+ user-select: text;
}
.bottom {
@@ -143,6 +147,26 @@
@apply --next-blue-small;
}
+ .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) {
@@ -163,7 +187,7 @@
-
+
[[reply.message]]
diff --git a/src/pages/hashtag/hashtag-simpledeal-item.html b/src/pages/hashtag/hashtag-simpledeal-item.html
index 098f55b0..181f43df 100644
--- a/src/pages/hashtag/hashtag-simpledeal-item.html
+++ b/src/pages/hashtag/hashtag-simpledeal-item.html
@@ -138,6 +138,10 @@
@apply --body-default;
color: var(--sc-grey4);
padding-right: 10px;
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ -ms-user-select: text;
+ user-select: text;
}
img {
@@ -183,6 +187,26 @@
width: 24px;
}
+ .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) {
@@ -197,7 +221,7 @@
-
[[item.description]]
+
[[item.description]]
[[_formatDate(item)]]
diff --git a/src/pages/hashtag/hashtag-simpledeal.html b/src/pages/hashtag/hashtag-simpledeal.html
index 6c8eb697..ede4e555 100644
--- a/src/pages/hashtag/hashtag-simpledeal.html
+++ b/src/pages/hashtag/hashtag-simpledeal.html
@@ -51,6 +51,9 @@
margin-top: 159px;
}
+ .container[wide-layout] .middle {
+ max-width: 68vw;
+ }
.filterbox {
@apply --small-bold;
@apply --layout-vertical;