fix links tab, boost description font size
This commit is contained in:
parent
311e9d255d
commit
cae19d8a9a
4 changed files with 11 additions and 2 deletions
|
|
@ -101,8 +101,9 @@
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<ChoiceSetting
|
<ChoiceSetting
|
||||||
:options="validateTLDOptions"
|
|
||||||
:path="[':pleroma', 'Pleroma.Formatter', ':validate_tld']"
|
:path="[':pleroma', 'Pleroma.Formatter', ':validate_tld']"
|
||||||
|
:options="validateTLDOptions"
|
||||||
|
override-options
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,10 @@ export default {
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
...Setting.props,
|
...Setting.props,
|
||||||
|
overrideOptions: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false
|
||||||
|
},
|
||||||
options: {
|
options: {
|
||||||
type: Array,
|
type: Array,
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -22,6 +26,9 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
...Setting.computed,
|
...Setting.computed,
|
||||||
realOptions () {
|
realOptions () {
|
||||||
|
if (this.overrideOptions) {
|
||||||
|
return this.options
|
||||||
|
}
|
||||||
if (this.realSource === 'admin') {
|
if (this.realSource === 'admin') {
|
||||||
if (
|
if (
|
||||||
!this.backendDescriptionSuggestions?.length ||
|
!this.backendDescriptionSuggestions?.length ||
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
.setting-description {
|
.setting-description {
|
||||||
margin-top: 0.2em;
|
margin-top: 0.2em;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
font-size: 70%;
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-modal-panel {
|
.settings-modal-panel {
|
||||||
|
|
|
||||||
|
|
@ -1194,6 +1194,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"links": {
|
"links": {
|
||||||
|
"no_scheme": "No scheme",
|
||||||
"link_previews": "Link previews",
|
"link_previews": "Link previews",
|
||||||
"link_formatter": "Link formatter"
|
"link_formatter": "Link formatter"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue