make status form selectors justified properly
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This commit is contained in:
parent
3e86db24d3
commit
aad023c8a0
1 changed files with 53 additions and 39 deletions
|
@ -190,6 +190,7 @@
|
||||||
<div
|
<div
|
||||||
v-if="!disableScopeSelector"
|
v-if="!disableScopeSelector"
|
||||||
class="visibility-tray"
|
class="visibility-tray"
|
||||||
|
:class="{ 'visibility-tray-edit': isEdit }"
|
||||||
>
|
>
|
||||||
<scope-selector
|
<scope-selector
|
||||||
v-if="!disableVisibilitySelector"
|
v-if="!disableVisibilitySelector"
|
||||||
|
@ -200,7 +201,9 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="language-selector"
|
class="format-selector-container">
|
||||||
|
<div
|
||||||
|
class="format-selector"
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
id="post-language"
|
id="post-language"
|
||||||
|
@ -218,7 +221,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="postFormats.length > 1"
|
v-if="postFormats.length > 1"
|
||||||
class="text-format"
|
class="text-format format-selector"
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
id="post-content-type"
|
id="post-content-type"
|
||||||
|
@ -236,7 +239,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="postFormats.length === 1 && postFormats[0] !== 'text/plain'"
|
v-if="postFormats.length === 1 && postFormats[0] !== 'text/plain'"
|
||||||
class="text-format"
|
class="text-format format-selector"
|
||||||
>
|
>
|
||||||
<span class="only-format">
|
<span class="only-format">
|
||||||
{{ $t(`post_status.content_type["${postFormats[0]}"]`) }}
|
{{ $t(`post_status.content_type["${postFormats[0]}"]`) }}
|
||||||
|
@ -244,6 +247,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<poll-form
|
<poll-form
|
||||||
v-if="pollsAvailable"
|
v-if="pollsAvailable"
|
||||||
ref="pollForm"
|
ref="pollForm"
|
||||||
|
@ -460,6 +464,10 @@
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.visibility-tray-edit {
|
||||||
|
justify-content: right;
|
||||||
|
}
|
||||||
|
|
||||||
.visibility-notice.edit-warning {
|
.visibility-notice.edit-warning {
|
||||||
> :first-child {
|
> :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
@ -470,6 +478,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.format-selector-container {
|
||||||
|
.format-selector {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.media-upload-icon, .poll-icon, .emoji-icon, .spoiler-icon {
|
.media-upload-icon, .poll-icon, .emoji-icon, .spoiler-icon {
|
||||||
font-size: 1.85em;
|
font-size: 1.85em;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
|
|
Loading…
Reference in a new issue