Implemented a workspace feature

This commit is contained in:
Alicia Sykes
2021-06-17 22:59:56 +01:00
parent f5ecdb4459
commit 3a22283f3c
8 changed files with 171 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div class="item-icon">
<i v-if="iconType === 'font-awesome'" :class="`${icon} ${size}`" ></i>
<img v-else-if="icon" :src="iconPath" @error="imageNotFound"
:class="`tile-icon ${size} ${broken ? 'broken' : ''}`"
@@ -98,9 +98,16 @@ export default {
<style lang="scss">
.tile-icon {
width: 60px;
width: 2rem;
// filter: var(--item-icon-transform);
border-radius: var(--curve-factor);
&.broken { display: none; }
&.small {
width: 1.5rem;
}
&.large {
width: 3rem;
}
}
i.fas, i.fab, i.far, i.fal, i.fad {
font-size: 2rem;