fix DM background color for replies
This commit is contained in:
parent
f56f746477
commit
8197c9e773
|
@ -37,6 +37,10 @@
|
|||
max-width: calc(100vw - 40px);
|
||||
}
|
||||
|
||||
.compose-box.direct-reply {
|
||||
background-color: var(--status-direct-background);
|
||||
}
|
||||
|
||||
.compose-box.slim-size {
|
||||
width: 540px;
|
||||
max-width: calc(100vw - 60px);
|
||||
|
@ -145,11 +149,12 @@
|
|||
},
|
||||
store: () => store,
|
||||
computed: {
|
||||
computedClassName: (overLimit, realm, size) => {
|
||||
computedClassName: (overLimit, realm, size, postPrivacyKey, isReply) => {
|
||||
return classname(
|
||||
'compose-box',
|
||||
overLimit && 'over-char-limit',
|
||||
size === 'slim' && 'slim-size'
|
||||
size === 'slim' && 'slim-size',
|
||||
isReply && postPrivacyKey === 'direct' && 'direct-reply'
|
||||
)
|
||||
},
|
||||
hideAndFadeIn: (hidden) => {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
size="slim"
|
||||
autoFocus="true"
|
||||
hideBottomBorder="true"
|
||||
isReply="true"
|
||||
replyVisibility="{{visibility}}"
|
||||
replySpoiler="{{spoilerText}}"
|
||||
on:postedStatus="onPostedStatus()"
|
||||
|
@ -11,7 +12,6 @@
|
|||
<style>
|
||||
.status-article-compose-box {
|
||||
grid-area: compose;
|
||||
background: var(--main-bg);
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue