fixed console errors, improved user-selecting, added cyantexting
This commit is contained in:
parent
255f47fe56
commit
f819227bed
4 changed files with 17 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue