remove broken placeholder size switch
This commit is contained in:
parent
bbb8b10bdf
commit
310e17d3f2
1 changed files with 1 additions and 5 deletions
|
|
@ -181,12 +181,8 @@ export default {
|
||||||
|
|
||||||
// Placeholder heights.
|
// Placeholder heights.
|
||||||
const { fontSize, navbarSize, panelHeaderSize } = useInterfaceSizes()
|
const { fontSize, navbarSize, panelHeaderSize } = useInterfaceSizes()
|
||||||
const mutedStatusHeight = computed(() => fontSize.value * 1.5)
|
|
||||||
const normalStatusHeight = computed(() => fontSize.value * 10)
|
const normalStatusHeight = computed(() => fontSize.value * 10)
|
||||||
const getPlaceholderHeight = (id) =>
|
const getPlaceholderHeight = (id) => normalStatusHeight
|
||||||
conversation.value.find((item) => item.id === id)?.muted
|
|
||||||
? mutedStatusHeight
|
|
||||||
: normalStatusHeight
|
|
||||||
const offset = computed(() => {
|
const offset = computed(() => {
|
||||||
// The fontsize after navbar is the little gap between navbar and content
|
// The fontsize after navbar is the little gap between navbar and content
|
||||||
if (isPage.value) {
|
if (isPage.value) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue