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;
margin-top: 0.25em;
padding: 0.5em;
user-select: all;
}
.short {
user-select: none;
}
& .short,

View file

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

View file

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

View file

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