forked from srxl/akkoma-fe
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;
|
||||
margin-top: 0.25em;
|
||||
padding: 0.5em;
|
||||
user-select: all;
|
||||
}
|
||||
|
||||
.short {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
& .short,
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -369,6 +369,12 @@ export const SLOT_INHERITANCE = {
|
|||
textColor: 'preserve'
|
||||
},
|
||||
|
||||
postCyantext: {
|
||||
depends: ['cBlue'],
|
||||
layer: 'bg',
|
||||
textColor: 'preserve'
|
||||
},
|
||||
|
||||
border: {
|
||||
depends: ['fg'],
|
||||
opacity: 'border',
|
||||
|
|
Loading…
Reference in a new issue