Page MenuHomePhorge

No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/settings_modal/tabs/posts_tab.vue b/src/components/settings_modal/tabs/posts_tab.vue
index 1f909d31d8..ce92241f18 100644
--- a/src/components/settings_modal/tabs/posts_tab.vue
+++ b/src/components/settings_modal/tabs/posts_tab.vue
@@ -8,6 +8,11 @@
{{ $t('settings.collapse_subject') }}
</BooleanSetting>
</li>
+ <li>
+ <BooleanSetting path="widthEfficientPostLayout">
+ {{ $t('settings.width_efficient_post_layout') }}
+ </BooleanSetting>
+ </li>
<li>
<ChoiceSetting
id="conversationDisplay"
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 5c3d74ae49..a703278057 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -156,7 +156,7 @@ const Status = {
},
computed: {
shouldBeWidthEfficient() {
- return this.widthEfficient || this.layoutType === 'mobile'
+ return this.widthEfficient || this.layoutType === 'mobile' || this.mergedConfig.widthEfficientPostLayout
},
headerLevel() {
return [this.isPage ? 0 : 1, this.isExpanded ? 1 : 0].reduce(
diff --git a/src/i18n/en.json b/src/i18n/en.json
index abc48b53ad..6b95fb98ac 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -1190,6 +1190,7 @@
"clear_asset_cache": "Clear asset cache",
"clear_emoji_cache": "Clear emoji cache",
"underline_links": "Make all links always underlined",
+ "width_efficient_post_layout": "Make post content always stretch the whole width",
"compact_profiles": "Reduce profile height on user pages"
},
"admin_dash": {
diff --git a/src/modules/default_config_state.js b/src/modules/default_config_state.js
index c11178d674..8cfed2d932 100644
--- a/src/modules/default_config_state.js
+++ b/src/modules/default_config_state.js
@@ -558,6 +558,10 @@ export const INSTANCE_DEFAULT_CONFIG_DEFINITIONS = {
description: 'Force links to have underline decoration',
default: false,
},
+ widthEfficientPostLayout: {
+ description: 'Force post content to take full width',
+ default: false,
+ },
compactProfiles: {
description: 'Reduce profile height on user pages',
default: false,

File Metadata

Mime Type
text/x-diff
Expires
Fri, Oct 9, 6:17 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1784482
Default Alt Text
(2 KB)

Event Timeline