tailwind implementation

This commit is contained in:
Čarodej
2021-10-25 09:02:00 +02:00
parent 3ec5166936
commit 133dd5285d
9 changed files with 839 additions and 414 deletions
+3
View File
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@@ -36,9 +36,9 @@
v-if="canShowAuthor"
:title="$t('Author')"
>
<div class="author-preview">
<div class="flex items-center">
<MemberAvatar :size="32" :member="singleFile.data.relationships.user" />
<span class="name">{{ singleFile.data.relationships.user.data.attributes.name }}</span>
<span class="ml-2 block">{{ singleFile.data.relationships.user.data.attributes.name }}</span>
</div>
</ListInfoItem>
@@ -180,16 +180,6 @@
<style scoped lang="scss">
.author-preview {
display: flex;
align-items: center;
.name {
margin-left: 10px;
display: block;
}
}
.info-wrapper {
padding-bottom: 20px;
height: 100%;
@@ -5,7 +5,7 @@
v-if="member.data.attributes.avatar"
:src="member.data.attributes.avatar"
:alt="member.data.attributes.name"
class="user-image"
class="rounded-lg"
>
<TypedAvatar
v-else
@@ -29,10 +29,3 @@
},
}
</script>
<style lang="scss">
.user-image {
border-radius: 10px;
}
</style>
+1
View File
@@ -11,6 +11,7 @@
{{--StyleSheet--}}
{{--<link href="{{ asset('css/app.css') }}?v={{ get_version() }}" rel="stylesheet">--}}
<link href="{{ mix('css/app.css') }}?v={{ get_version() }}" rel="stylesheet">
<link href="{{ asset('css/tailwind.css') }}?v={{ get_version() }}" rel="stylesheet">
{{--OG items--}}
<meta property="og:url" content="{{ url('/') }}">