fixed console errors, improved user-selecting, added cyantexting

This commit is contained in:
Henry Jameson 2021-06-11 11:49:32 +03:00
parent 255f47fe56
commit f819227bed
4 changed files with 17 additions and 2 deletions

View File

@ -28,6 +28,11 @@
z-index: 1; z-index: 1;
margin-top: 0.25em; margin-top: 0.25em;
padding: 0.5em; padding: 0.5em;
user-select: all;
}
.short {
user-select: none;
} }
& .short, & .short,

View File

@ -23,7 +23,7 @@
> >
<!-- eslint-disable vue/no-v-html --> <!-- eslint-disable vue/no-v-html -->
<FAIcon <FAIcon
size="s" size="sm"
icon="at" icon="at"
class="at" class="at"
/><span class="shortName"><span /><span class="shortName"><span
@ -44,7 +44,7 @@
<!-- eslint-disable vue/no-v-html --> <!-- eslint-disable vue/no-v-html -->
<span <span
class="userNameFull" class="userNameFull"
v-html="userNameFull" v-text="'@' + userNameFull"
/> />
<!-- eslint-enable vue/no-v-html --> <!-- eslint-enable vue/no-v-html -->
</span> </span>

View File

@ -112,6 +112,10 @@
color: var(--postGreentext, $fallback--cGreen); color: var(--postGreentext, $fallback--cGreen);
} }
.cyantext {
color: var(--postCyantext, $fallback--cBlue);
}
/* Not sure if this is necessary */ /* Not sure if this is necessary */
video { video {
max-width: 100%; max-width: 100%;

View File

@ -369,6 +369,12 @@ export const SLOT_INHERITANCE = {
textColor: 'preserve' textColor: 'preserve'
}, },
postCyantext: {
depends: ['cBlue'],
layer: 'bg',
textColor: 'preserve'
},
border: { border: {
depends: ['fg'], depends: ['fg'],
opacity: 'border', opacity: 'border',