1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 08:28:31 +00:00

Fix tab-complete menu styling (#631)

* Fix tab-complete menu styling

Twitch has a Y-padding next to their X-padding, too, which was missing up until now

* Undo removal of `tw-relative`

Needed for the favorite star, whoops
This commit is contained in:
Lordmau5 2019-08-05 23:12:50 +02:00 committed by Mike
parent 49e508a2a0
commit 9fcd7cb90a

View file

@ -367,7 +367,7 @@ export default class Input extends Module {
inst.renderFFZEmojiSuggestion = function(data) {
return (<React.Fragment>
<div class="tw-relative tw-flex-shrink-0 tw-pd-r-05" title={data.token} favorite={data.favorite}>
<div class="tw-relative tw-flex-shrink-0 tw-pd-05" title={data.token} favorite={data.favorite}>
<img
class="emote-autocomplete-provider__image ffz-emoji"
src={data.src}
@ -383,7 +383,7 @@ export default class Input extends Module {
inst.renderEmoteSuggestion = function(emote) {
return (<React.Fragment>
<div class="tw-relative tw-flex-shrink-0 tw-pd-r-05" title={emote.token} favorite={emote.favorite}>
<div class="tw-relative tw-flex-shrink-0 tw-pd-05" title={emote.token} favorite={emote.favorite}>
<img
class="emote-autocomplete-provider__image"
srcSet={emote.srcSet}