diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-02-19 16:49:44 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-02-19 16:49:44 +0000 |
| commit | 53484ae4bffb45a2a09dd822cf6069b01a524a08 (patch) | |
| tree | be68b42be7ac7033017bbfa7b51598e7c5ccfb82 /src/components/chat_panel/chat_panel.vue | |
| parent | 0e1295edea1426af992c25d5396612c2c0b67404 (diff) | |
| parent | f2ce2e917623e131741bd0dc163734f416ff83f7 (diff) | |
Merge branch 'issue-344-css-refactor' into 'develop'
#344 - replace float: with flexbox, clean up
See merge request pleroma/pleroma-fe!566
Diffstat (limited to 'src/components/chat_panel/chat_panel.vue')
| -rw-r--r-- | src/components/chat_panel/chat_panel.vue | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/components/chat_panel/chat_panel.vue b/src/components/chat_panel/chat_panel.vue index bf65efc5..b37469ac 100644 --- a/src/components/chat_panel/chat_panel.vue +++ b/src/components/chat_panel/chat_panel.vue @@ -3,8 +3,8 @@ <div class="panel panel-default"> <div class="panel-heading timeline-heading" :class="{ 'chat-heading': floating }" @click.stop.prevent="togglePanel"> <div class="title"> - {{$t('chat.title')}} - <i class="icon-cancel" style="float: right;" v-if="floating"></i> + <span>{{$t('chat.title')}}</span> + <i class="icon-cancel" v-if="floating"></i> </div> </div> <div class="chat-window" v-chat-scroll> @@ -98,4 +98,11 @@ resize: none; } } + +.chat-panel { + .title { + display: flex; + justify-content: space-between; + } +} </style> |
