mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-05 18:48:31 +00:00
4.0.0-rc21.1
* Fixed: Minor rendering issue with new feature of In-Line Chat Actions.
This commit is contained in:
parent
bd11a6f2aa
commit
7d8151b6d9
3 changed files with 20 additions and 15 deletions
|
@ -149,7 +149,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}`
|
||||||
FrankerFaceZ.Logger = Logger;
|
FrankerFaceZ.Logger = Logger;
|
||||||
|
|
||||||
const VER = FrankerFaceZ.version_info = {
|
const VER = FrankerFaceZ.version_info = {
|
||||||
major: 4, minor: 0, revision: 0, extra: '-rc21',
|
major: 4, minor: 0, revision: 0, extra: '-rc21.1',
|
||||||
commit: __git_commit__,
|
commit: __git_commit__,
|
||||||
build: __webpack_hash__,
|
build: __webpack_hash__,
|
||||||
toString: () =>
|
toString: () =>
|
||||||
|
|
|
@ -494,22 +494,26 @@ export default class Actions extends Module {
|
||||||
type: msg.user.type
|
type: msg.user.type
|
||||||
});*/
|
});*/
|
||||||
|
|
||||||
let out = (<div
|
let out = null;
|
||||||
class="ffz--inline-actions ffz-action-data tw-inline-block tw-mg-r-05"
|
if ( actions.length )
|
||||||
data-source="line"
|
out = (<div
|
||||||
>
|
class="ffz--inline-actions ffz-action-data tw-inline-block tw-mg-r-05"
|
||||||
{actions}
|
data-source="line"
|
||||||
</div>);
|
>
|
||||||
|
{actions}
|
||||||
|
</div>);
|
||||||
|
|
||||||
if ( modified.length ) {
|
if ( modified.length ) {
|
||||||
return [out,
|
const modified_out = (<div
|
||||||
(<div
|
class="ffz--inline-actions ffz--modifier-actions ffz-action-data"
|
||||||
class="ffz--inline-actions ffz--modifier-actions ffz-action-data"
|
data-source="line"
|
||||||
data-source="line"
|
>
|
||||||
>
|
{modified}
|
||||||
{modified}
|
</div>);
|
||||||
</div>)
|
|
||||||
];
|
if ( out )
|
||||||
|
return [out, modified_out];
|
||||||
|
return modified_out;
|
||||||
}
|
}
|
||||||
|
|
||||||
return out;
|
return out;
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: .5rem 0;
|
padding: .5rem 0;
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
background: rgba(255,255,255,0.5);
|
background: rgba(255,255,255,0.5);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue