mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-08 15:20:55 +00:00
* Added: Setting to hide the "LIVE" indicator on live channel pages. * Added: Setting to invert portrait mode, placing chat at the top rather than the bottom. * API Added: New icons to the default icon set: `user`, `clip`, `sort-down`, `sort-up`, `sort-alt-up`, `sort-alt-down`, and `language`. * API Added: All Vue components now have access to a `getReactURL(route, ...)` method for building URLs. * API Fixed: `<react-link />` will not attempt a React navigation if given a non-relative link. * API Fixed: Issue with `getTagImmediate` throwing an exception when not given a callback function.
12 lines
No EOL
276 B
Vue
12 lines
No EOL
276 B
Vue
<template functional>
|
|
<div
|
|
:class="`tw-aspect--align-${props.align||'top'}`"
|
|
class="tw-aspect"
|
|
>
|
|
<div
|
|
:style="{paddingBottom: (props.padding ? props.padding : (100 * (1 / (props.ratio || 1)))) + '%'}"
|
|
class="tw-aspect__spacer"
|
|
/>
|
|
<slot />
|
|
</div>
|
|
</template> |