Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d8895dad1 |
+3
-1
@@ -19,7 +19,9 @@ export default class AiFullPageDiscobotDiscoveries extends Component {
|
|||||||
@service site;
|
@service site;
|
||||||
|
|
||||||
get previewLength() {
|
get previewLength() {
|
||||||
if (!this.capabilities.viewport.md) {
|
// todo: replace with js breakpoint API
|
||||||
|
// https://github.com/discourse/discourse/pull/32060
|
||||||
|
if (this.site.mobileView || this.site.narrowDesktopView) {
|
||||||
return 50;
|
return 50;
|
||||||
} else {
|
} else {
|
||||||
return 10000;
|
return 10000;
|
||||||
|
|||||||
Reference in New Issue
Block a user