diff --git a/phpBB/docs/CREDITS.txt b/phpBB/docs/CREDITS.txt
index 48a835fe02..9155fc9a2b 100644
--- a/phpBB/docs/CREDITS.txt
+++ b/phpBB/docs/CREDITS.txt
@@ -106,7 +106,4 @@ MIT licensed:
Symfony2 (c) 2004-2011 Fabien Potencier, https://symfony.com/
Cookie Consent (c) 2015 Silktide Ltd, https://cookieconsent.insites.com
-Emoji by:
-Twemoji (c) 2018 Twitter, Inc, https://twemoji.twitter.com/
-
HiDPI smilies by rednoah: https://github.com/rednoah/phpBB-smilies
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index 79521b753b..78f8cbe6c6 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -358,15 +358,7 @@ class factory implements \phpbb\textformatter\cache_interface
// Load the Emoji plugin and modify its tag's template to obey viewsmilies
$tag = $configurator->Emoji->getTag();
- $tag->template = '
-
-
-
-
-
-
- ';
- $tag->template = '' . str_replace('class="emoji"', 'class="emoji smilies"', $tag->template) . '';
+ $tag->template = '';
/**
* Modify the s9e\TextFormatter configurator after the default settings are set
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index 66fff05404..59db92a032 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -1224,14 +1224,9 @@ ul.linklist:after,
content: "";
}
-/* stylelint-disable declaration-property-unit-allowed-list */
.emoji {
- width: 1em;
- min-width: 18px;
- height: 1em;
- min-height: 18px;
+ font-size: 17px;
}
-/* stylelint-enable declaration-property-unit-allowed-list */
.smilies {
vertical-align: text-bottom;