mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-08 07:10:54 +00:00
4.2.5
* Fixed: Words being highlighted as mentions incorrectly when they start with the user's name. * API Changed: New `<react-link>` and `<aspect>` global Vue components.
This commit is contained in:
parent
8582626269
commit
4e0539103a
5 changed files with 38 additions and 3 deletions
12
src/std-components/aspect.vue
Normal file
12
src/std-components/aspect.vue
Normal file
|
@ -0,0 +1,12 @@
|
|||
<template functional>
|
||||
<div
|
||||
:class="`tw-aspect--align-${props.align||'top'}`"
|
||||
class="tw-aspect"
|
||||
>
|
||||
<div
|
||||
:style="{paddingBottom: (100 * (1 / (props.ratio || 1))) + '%'}"
|
||||
class="tw-aspect__spacer"
|
||||
/>
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue