Update ChannelPage.vue

This commit is contained in:
Dragos 2022-11-08 18:53:43 +02:00 committed by GitHub
parent 8837c1c9fe
commit d6ccc7e28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,9 @@
<span v-html="purifyHTML(urlify(channel.description))" /> <span v-html="purifyHTML(urlify(channel.description))" />
</p> </p>
<div class="flex mt-4 mb-2 pp-channel-tabs">
<button <button
class="btn" class="btn pp-subscribe"
@click="subscribeHandler" @click="subscribeHandler"
v-t="{ v-t="{
path: `actions.${subscribed ? 'unsubscribe' : 'subscribe'}`, path: `actions.${subscribed ? 'unsubscribe' : 'subscribe'}`,
@ -30,12 +31,12 @@
v-if="channel.id" v-if="channel.id"
:href="`${apiUrl()}/feed/unauthenticated/rss?channels=${channel.id}`" :href="`${apiUrl()}/feed/unauthenticated/rss?channels=${channel.id}`"
target="_blank" target="_blank"
class="btn flex-col ml-3" class="btn flex-col ml-2"
style="display: inline; float: unset"
> >
<font-awesome-icon icon="rss" /> <font-awesome-icon icon="rss" />
</a> </a>
<p>|</p>
<div class="flex mt-4 mb-2">
<button <button
v-for="(tab, index) in tabs" v-for="(tab, index) in tabs"
:key="tab.name" :key="tab.name"
@ -57,11 +58,20 @@
height="94" height="94"
width="168" width="168"
hide-channel hide-channel
class="efy_trans_filter"
/> />
</div> </div>
</div> </div>
</template> </template>
<style>
.pp-channel-tabs > p {
place-self: center;
padding: 0 10rem;
-webkit-text-fill-color: var(--efy_text_trans2);
}
</style>
<script> <script>
import ErrorHandler from "./ErrorHandler.vue"; import ErrorHandler from "./ErrorHandler.vue";
import ContentItem from "./ContentItem.vue"; import ContentItem from "./ContentItem.vue";
@ -236,9 +246,3 @@ export default {
}, },
}; };
</script> </script>
<style>
.active {
border: 0.1rem outset red;
}
</style>