0
0
Fork 0
Phantom-Ink-Online/web/src/components/ObjectReminder.vue
2020-12-20 20:05:43 -07:00

47 lines
No EOL
712 B
Vue

<template>
<div id="ObjectReminder">
<span class="text">
Object:
<br>
{{ targetObject }}
</span>
</div>
</template>
<script>
export default {
name: `ObjectReminder`,
components: {},
computed: {
targetObject() {
return this.$store.state.chosen_object;
},
},
methods: {},
}
</script>
<style scoped>
@import "../css/theme.css";
@import "../css/style.css";
#ObjectReminder {
background-color: var(--background3);
color: var(--background3-text);
border-radius: 100% 0 0 0;
height: var(--size);
width: var(--size);
position: fixed;
--size: 120px;
bottom: 0;
right: 0;
}
.text {
text-align: center;
position: absolute;
font-size: large;
bottom: 30px;
right: 20px;
}
</style>