Jump to content
bernhard

CSS fixes/improvements

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

thx @adrian this is strange, because I just tested and it seems to work in the console/bardump:

105721605-0eb36a80-5f25-11eb-8208-c31c2e

105721797-3d314580-5f25-11eb-82ee-cd0f2e

105721865-56d28d00-5f25-11eb-8139-287332

105722144-a1eca000-5f25-11eb-8710-234f31

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Ah - maybe my devtools stylesheet is still active... I'll report back! Yeah, good idea for such testing scenarios 🙂 

Share this post


Link to post
Share on other sites

I think this might finally be properly fixed, but please let me know if you still see issues.

  • Like 1

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...