Fix links layout in embed modal

This commit is contained in:
Lim Chee Aun 2024-03-06 18:58:12 +08:00
parent 0b81b5bfd2
commit c005745ad0
2 changed files with 3 additions and 3 deletions

View file

@ -2167,7 +2167,7 @@ a.card:is(:hover, :focus):visited {
}
.links-list {
a {
li > a {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;

View file

@ -2568,7 +2568,7 @@ function EmbedModal({ post, instance, onClose }) {
{!!accountEmojis?.length && (
<section>
<p>Account Emojis:</p>
<ul class="links-list">
<ul>
{accountEmojis.map((emoji) => {
return (
<li key={emoji.shortcode}>
@ -2611,7 +2611,7 @@ function EmbedModal({ post, instance, onClose }) {
{!!emojis?.length && (
<section>
<p>Emojis:</p>
<ul class="links-list">
<ul>
{emojis.map((emoji) => {
return (
<li key={emoji.shortcode}>