dhamaniasad / obsidian-rich-links

121 stars 19 forks source link

Text overflows out of rich-link-card-text container #9

Open hcrev opened 3 years ago

hcrev commented 3 years ago

Text overflows out of the rich-link-card-text container. Noticed this with long URLs.

Adding the overflow: hidden; rule for the .rich-link-card-text seems to solve the issue

.rich-link-card .rich-link-card-text {
  padding: 4px;
  width: 75%;
  overflow: hidden;
}

Here's a before/after:

Screenshot 2021-10-20 at 16-13-17 MoodBoarder

dhamaniasad commented 3 years ago

Can you create a PR with this fix? I’ll merge it.

On Thu, 21 Oct 2021 at 1:51 AM, hcrev @.***> wrote:

Text overflows out of the rich-link-card container. Noticed this with long URLs.

Adding the overflow: hidden; rule for the .rich-link-card seems to solve the issue

.rich-link-card .rich-link-card-text { padding: 4px; width: 75%; overflow: hidden; }

Here's a before/after:

[image: Screenshot 2021-10-20 at 16-13-17 MoodBoarder] https://user-images.githubusercontent.com/33987427/138165964-247ac82b-be29-4b79-9847-d4033d0009c3.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dhamaniasad/obsidian-rich-links/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCZMYSBNG7A5MUVRPO5HPDUH4QEDANCNFSM5GMP7YFA .

-- With Regards, Asad Dhamani