Add support for mobile devices

This commit is contained in:
Jack Hadrill
2022-03-22 19:57:47 +00:00
parent ab71601ae9
commit c5914d3a28
23 changed files with 160 additions and 89 deletions

View File

@@ -0,0 +1,19 @@
<template>
<span :style="{ color: color }">{{ user.name }}</span>
</template>
<script setup>
import { computed } from 'vue'
import Colors from '../../common/colors'
const props = defineProps(['user'])
const user = props.user
const color = computed(() => { return user.color ?? Colors.Secondary })
</script>
<style scoped>
span:hover {
color: white !important;
}
</style>