feat: wider DMs (#675)
parent
016da2e8c0
commit
f0db2e9013
|
@ -149,7 +149,7 @@ const isDM = $computed(() => status.visibility === 'direct')
|
||||||
</div>
|
</div>
|
||||||
<StatusActionsMore v-if="actions !== false" :status="status" me--2 />
|
<StatusActionsMore v-if="actions !== false" :status="status" me--2 />
|
||||||
</div>
|
</div>
|
||||||
<StatusContent :status="status" :context="context" mb2 :class="{ mt2: isDM }" />
|
<StatusContent :status="status" :context="context" mb2 :class="{ 'mt-2 mb1': isDM }" />
|
||||||
<div>
|
<div>
|
||||||
<StatusActions v-if="(actions !== false && !isZenMode)" :status="status" />
|
<StatusActions v-if="(actions !== false && !isZenMode)" :status="status" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,8 +23,8 @@ const isFiltered = $computed(() => filterPhrase && (context && context !== 'deta
|
||||||
<div
|
<div
|
||||||
space-y-3
|
space-y-3
|
||||||
:class="{
|
:class="{
|
||||||
'pt2 pb0.5 px3.5 border-1 rounded-3 rounded-bs-is-none': isDM,
|
'pt2 pb0.5 px3.5 bg-fade border-1 border-primary-light rounded-5 mx--1': isDM,
|
||||||
'bg-fade border-primary-light': isDM,
|
'ms--3.5 mt--1': isDM && context !== 'details',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<StatusBody v-if="!isFiltered && status.sensitive && !status.spoilerText" :status="status" :with-action="!isDetails" :class="isDetails ? 'text-xl' : ''" />
|
<StatusBody v-if="!isFiltered && status.sensitive && !status.spoilerText" :status="status" :with-action="!isDetails" :class="isDetails ? 'text-xl' : ''" />
|
||||||
|
|
Loading…
Reference in New Issue