mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-01-31 08:29:08 +01:00
added setting to switch between center and left-aligned user bio
This commit is contained in:
parent
754cd2fa57
commit
c902219997
6 changed files with 9 additions and 1 deletions
|
@ -159,6 +159,11 @@
|
||||||
{{ $t('settings.show_page_backgrounds') }}
|
{{ $t('settings.show_page_backgrounds') }}
|
||||||
</BooleanSetting>
|
</BooleanSetting>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<BooleanSetting path="centerAlignBio">
|
||||||
|
{{ $t('settings.center_align_bio') }}
|
||||||
|
</BooleanSetting>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting path="stopGifs">
|
<BooleanSetting path="stopGifs">
|
||||||
{{ $t('settings.stop_gifs') }}
|
{{ $t('settings.stop_gifs') }}
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&-bio {
|
&-bio {
|
||||||
text-align: start;
|
|
||||||
display: block;
|
display: block;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|
|
@ -299,6 +299,7 @@
|
||||||
:html="user.description_html"
|
:html="user.description_html"
|
||||||
:emoji="user.emoji"
|
:emoji="user.emoji"
|
||||||
:handle-links="true"
|
:handle-links="true"
|
||||||
|
:style='{"text-align": this.$store.getters.mergedConfig.centerAlignBio ? "center" : "start"}'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<teleport to="#modal">
|
<teleport to="#modal">
|
||||||
|
|
|
@ -482,6 +482,7 @@
|
||||||
"blocks_tab": "Blocks",
|
"blocks_tab": "Blocks",
|
||||||
"bot": "Dies ist ein Bot Account",
|
"bot": "Dies ist ein Bot Account",
|
||||||
"btnRadius": "Knöpfe",
|
"btnRadius": "Knöpfe",
|
||||||
|
"center_align_bio": "Zentrale Textausrichtung in der Bio",
|
||||||
"cBlue": "Blau (Antworten, folgt dir)",
|
"cBlue": "Blau (Antworten, folgt dir)",
|
||||||
"cGreen": "Grün (Retweet)",
|
"cGreen": "Grün (Retweet)",
|
||||||
"cOrange": "Orange (Favorisieren)",
|
"cOrange": "Orange (Favorisieren)",
|
||||||
|
|
|
@ -488,6 +488,7 @@
|
||||||
"blocks_tab": "Blocks",
|
"blocks_tab": "Blocks",
|
||||||
"bot": "This is a bot account",
|
"bot": "This is a bot account",
|
||||||
"btnRadius": "Buttons",
|
"btnRadius": "Buttons",
|
||||||
|
"center_align_bio": "Center text in user bio",
|
||||||
"cBlue": "Blue (Reply, follow)",
|
"cBlue": "Blue (Reply, follow)",
|
||||||
"cGreen": "Green (Retweet)",
|
"cGreen": "Green (Retweet)",
|
||||||
"cOrange": "Orange (Favorite)",
|
"cOrange": "Orange (Favorite)",
|
||||||
|
|
|
@ -56,6 +56,7 @@ export const defaultState = {
|
||||||
autohideFloatingPostButton: false,
|
autohideFloatingPostButton: false,
|
||||||
pauseOnUnfocused: true,
|
pauseOnUnfocused: true,
|
||||||
displayPageBackgrounds: true,
|
displayPageBackgrounds: true,
|
||||||
|
centerAlignBio: false,
|
||||||
stopGifs: undefined,
|
stopGifs: undefined,
|
||||||
replyVisibility: 'all',
|
replyVisibility: 'all',
|
||||||
thirdColumnMode: 'notifications',
|
thirdColumnMode: 'notifications',
|
||||||
|
|
Loading…
Reference in a new issue