Fix oembed attachments.
This commit is contained in:
parent
2e874933a5
commit
eb7156de0d
@ -3,7 +3,7 @@
|
|||||||
<nav class='container base01-background base04'>
|
<nav class='container base01-background base04'>
|
||||||
<div class='inner-nav' :style="logoStyle">
|
<div class='inner-nav' :style="logoStyle">
|
||||||
<div class='item'>
|
<div class='item'>
|
||||||
<a route-to='friends-timeline' href="#">{{sitename}}</a>
|
<router-link :to="{ name: 'root'}">{{sitename}}</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class='item right'>
|
<div class='item right'>
|
||||||
<router-link :to="{ name: 'settings'}"><i class="icon-cog"></i></router-link>
|
<router-link :to="{ name: 'settings'}"><i class="icon-cog"></i></router-link>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="attachment">
|
<div class="attachment" :class="type">
|
||||||
<a class="image-attachment" v-if="hidden" v-on:click.prevent="toggleHidden()">
|
<a class="image-attachment" v-if="hidden" v-on:click.prevent="toggleHidden()">
|
||||||
<img :key="nsfwImage" :src="nsfwImage"></img>
|
<img :key="nsfwImage" :src="nsfwImage"></img>
|
||||||
</a>
|
</a>
|
||||||
@ -42,6 +42,10 @@
|
|||||||
margin: 0.2em;
|
margin: 0.2em;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
|
|
||||||
|
&.html {
|
||||||
|
flex-basis: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.hider {
|
.hider {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
@ -74,7 +78,6 @@
|
|||||||
.oembed {
|
.oembed {
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ const store = new Vuex.Store({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{ path: '/', redirect: '/main/all' },
|
{ name: 'root', path: '/', redirect: '/main/all' },
|
||||||
{ path: '/main/all', component: PublicAndExternalTimeline },
|
{ path: '/main/all', component: PublicAndExternalTimeline },
|
||||||
{ path: '/main/public', component: PublicTimeline },
|
{ path: '/main/public', component: PublicTimeline },
|
||||||
{ path: '/main/friends', component: FriendsTimeline },
|
{ path: '/main/friends', component: FriendsTimeline },
|
||||||
|
Loading…
Reference in New Issue
Block a user