summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-25 03:17:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-25 03:17:13 +0900
commit241aebc2f6f469ea207f31e2f250e7f09ce31abe (patch)
tree2887f680dec7899fd2f6ec82e0d6a57b049a3553 /src/web/app/common
parent:art: (diff)
downloadsharkey-241aebc2f6f469ea207f31e2f250e7f09ce31abe.tar.gz
sharkey-241aebc2f6f469ea207f31e2f250e7f09ce31abe.tar.bz2
sharkey-241aebc2f6f469ea207f31e2f250e7f09ce31abe.zip
:art:
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/views/components/messaging.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/web/app/common/views/components/messaging.vue b/src/web/app/common/views/components/messaging.vue
index 6dc19b8741..ea75c90812 100644
--- a/src/web/app/common/views/components/messaging.vue
+++ b/src/web/app/common/views/components/messaging.vue
@@ -1,6 +1,6 @@
<template>
<div class="mk-messaging" :data-compact="compact">
- <div class="search" v-if="!compact">
+ <div class="search" v-if="!compact" :style="{ top: headerTop + 'px' }">
<div class="form">
<label for="search-input">%fa:search%</label>
<input v-model="q" type="search" @input="search" @keydown="onSearchKeydown" placeholder="%i18n:common.tags.mk-messaging.search-user%"/>
@@ -57,6 +57,10 @@ export default Vue.extend({
compact: {
type: Boolean,
default: false
+ },
+ headerTop: {
+ type: Number,
+ default: 0
}
},
data() {