Notifications
Clear all

[Solved] Tenor GIF plugin - GIF button sizing issues

11 Posts
2 Users
1 Reactions
1,725 Views
Posts: 11
Topic starter
(@remiel)
Active Member
Joined: 3 years ago

Tenor GIF button that appears on the commenting form doesn't resize properly at smaller window sizes/mobile.

ButtonSizing

It looks like this in smaller window sizes:

image

As you can see, it looks totally out of place, it's size and padding is different than the rest of the buttons.

To reproduce, just change the window size of the browser.

10 Replies
Astghik
Posts: 6149
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

@remiel,

Please update the addon to the new version (v. 1.0.2) and check again. 

Reply
9 Replies
(@remiel)
Joined: 3 years ago

Active Member
Posts: 11

@astgh I didn't notice any changes with the update, but it could be due to cache. I'll wait for a day or two and check again.

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

Yes, please delete all kind of caches (website, browser) before checking again.

Reply
(@remiel)
Joined: 3 years ago

Active Member
Posts: 11

@astgh I've checked again, the results are below.

Reply
(@remiel)
Joined: 3 years ago

Active Member
Posts: 11

@astgh It's good now on smaller screens up to a certain point:

image

However, if you still continue to decrease the window size, the avatar at the left of the comment form disappears and at that moment, the gif button once again shrinks:

image

This second screenshot is how it appears on my mobile device.

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@remiel,

Could you please leave some example URL? 

Reply
(@remiel)
Joined: 3 years ago

Active Member
Posts: 11

@astgh URL is removed

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@remiel,

Use the CSS code below, it should solve the CSS conflict: 

.ql-tenor svg {
      padding: 0;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

Also, please try on incognito mode if you're checking on mobile devices. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.

Reply
(@remiel)
Joined: 3 years ago

Active Member
Posts: 11

@astgh Oh, so it was a conflict. Thank you for the solution. It displays properly now.

P.S. Can you edit the above comment I left to remove the URL to my site?

Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@remiel,

Sure, the URL is already removed. 

Reply
Share:
Scroll to top