Style fixes

This commit is contained in:
2020-08-11 05:17:56 +05:00
parent 8c12b94777
commit 162a5b7c82

View File

@@ -1,8 +1,8 @@
<template> <template>
<div> <div>
<div> <div class="py-6 flex justify-center lg:justify-end md:justify-end">
<h3 <h3
class="text-gray-800 font-bold text-3xl mb-2 MvAamu" class="text-gray-800 font-bold text-3xl MvAamu"
style="direction: rtl;" style="direction: rtl;"
> >
މިއަދުގެ ޙުލާސާ މިއަދުގެ ޙުލާސާ
@@ -38,8 +38,6 @@
:src="subarticle.source.logo" :src="subarticle.source.logo"
class="h-10 w-10 rounded-full ml-1 object-cover" class="h-10 w-10 rounded-full ml-1 object-cover"
/> />
</div> </div>
<div <div
@@ -58,14 +56,24 @@
d="M235.5 83.118h-27.706v144.265l87.176 87.176 19.589-19.589-79.059-79.059z" d="M235.5 83.118h-27.706v144.265l87.176 87.176 19.589-19.589-79.059-79.059z"
/> />
</svg> </svg>
<span
class="ml-1"
v-text="subarticle.readtime"
></span>
<span class="ml-1" v-text="subarticle.readtime"></span> <p class="text-gray-600 text-sm text-right mb-2">
&#8210;
{{
subarticle.published_date
| moment("calendar")
}}
</p>
</div> </div>
<p <p
class="block md:hidden p-2 pl-0 pt-1 text-sm text-gray-600 MvTyper" class="block md:hidden p-2 pl-0 pt-1 text-sm text-gray-600 MvTyper"
style="direction:rtl;" style="direction:rtl;"
v-text="subarticle.body.slice(0, 150)" v-text="subarticle.body[0]"
></p> ></p>
</div> </div>
<img <img
@@ -107,18 +115,13 @@
:src="article.source.logo" :src="article.source.logo"
class="h-10 w-10 rounded-full ml-1 object-cover" class="h-10 w-10 rounded-full ml-1 object-cover"
/> />
</div> </div>
<div <div
class="text-gray-600 text-md mt-4 flex justify-end items-center mb-3" class="text-gray-600 text-md mt-4 flex justify-end items-center mb-3"
> >
<p class="text-gray-600 text-right">
{{ article.published_date | moment("calendar") }}
&#8210;
</p>
<span class="mr-1 ml-1" v-text="article.readtime"></span> <span class="mr-1 ml-1" v-text="article.readtime"></span>
<svg <svg
class="h-4 w-4" class="h-4 w-4"
viewBox="0 0 443.294 443.294" viewBox="0 0 443.294 443.294"
@@ -132,6 +135,10 @@
d="M235.5 83.118h-27.706v144.265l87.176 87.176 19.589-19.589-79.059-79.059z" d="M235.5 83.118h-27.706v144.265l87.176 87.176 19.589-19.589-79.059-79.059z"
/> />
</svg> </svg>
<p class="ml-1 text-gray-600 text-right">
&#8210;
{{ article.published_date | moment("calendar") }}
</p>
</div> </div>
</div> </div>
</div> </div>