Skip to content

Commit

Permalink
Fix links layout in embed modal
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Mar 6, 2024
1 parent 0b81b5b commit c005745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/status.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/components/status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}>
Expand Down Expand Up @@ -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}>
Expand Down

0 comments on commit c005745

Please sign in to comment.