From 43ad78654ca769081be7d7e22591fb21c139ad51 Mon Sep 17 00:00:00 2001 From: timas130 Date: Wed, 20 May 2020 22:20:02 +0300 Subject: [PATCH] Fix dropdown overflow on mobile (flarum/core#2070) (#46) * Fix dropdown overflow on mobile (flarum/core#2070) --- extensions/mentions/less/forum.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/mentions/less/forum.less b/extensions/mentions/less/forum.less index fcd887185..12ac35b0e 100644 --- a/extensions/mentions/less/forum.less +++ b/extensions/mentions/less/forum.less @@ -91,3 +91,8 @@ position: absolute; .Button--color(@tooltip-color, @tooltip-bg); } +@media screen and (max-width: @screen-phone-max) { + .MentionsDropdown { + max-width: 100%; + } +}