Jump to content

CSS fixes/improvements


bernhard
 Share

Recommended Posts

I think it might be helpful to have a thread dedicated to css fiexes/improvements?

jCQty6F.png

Could the bd() dump at the bottom be single line only with a css text-overflow ellipsis? https://developer.mozilla.org/de/docs/Web/CSS/text-overflow

This is what I tried as a quickfix in devtools on the <a> tag:

element.style {
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block !important;
    width: 90%;
    overflow: hidden;
}

Ru7ApXc.png

  • Like 3
Link to comment
Share on other sites

Hi @bernhard - I think it's worth posting this to the Tracy core repo because from what I can tell, it's only an issue when you have a comment on the same line as the bd call. If the contents on the call itself are long, it is properly truncated.

PS - you might be better off posting a screenshot using Tracy in your PW standalone project where it's just Tracy core CSS because I have moved things around so much.

Link to comment
Share on other sites

Weird, adding a long comment and calling from the Console still breaks things for me:

image.png.bc7a27ccd6f8b006cb195b070d6ebb50.png

It is truncating somewhat - you can see the ... in the middle, but it's still overflowing. I don't have a pure Tracy instance running anywhere - maybe I should install your PW standalone and try it there. It might be hard to post this as Tracy core issue at the moment - I'll test more and see exactly why it's failing.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...