pyLODE icon indicating copy to clipboard operation
pyLODE copied to clipboard

CSS improvements - PYLODE logo, table of contents

Open fosterlynn opened this issue 1 year ago • 7 comments

Thank you so much for this tool!

I am on Ubuntu, Firefox, a medium-smallish laptop. I don't know if these issues are the same on all screen sizes, browsers, etc.

  1. The PYLODE logo is overlapping with the content.
  2. The table of contents on the right is too narrow for many class and property names. I see this also is #170 , but am including it to show suggested fix.

Currently, this is the situation: Screenshot from 2024-02-18 18-46-42

With these changes, I now see:

  • #toc width: 250px
  • #content width: 205px
  • #pylode left:-270px Screenshot from 2024-02-18 18-45-28

fosterlynn avatar Feb 19 '24 01:02 fosterlynn

for me, it looked right before and wrong after. :/

before:

2024-02-19-22-04-29-area

with these changes (the logo and version part are not visible anywhere):

2024-02-19-22-04-47-area

hoijui avatar Feb 19 '24 21:02 hoijui

My whole screen; Looks like text on my screen is much smaller, or I have more pixels or something ...

2024-02-19-22-11-23-area

hoijui avatar Feb 19 '24 21:02 hoijui

@hoijui put together a relative width scenario, and we fiddled until it worked ok for both of us. So that's at least 2 screen sizes.

#pylode top: 15em; #pylode left: -13em; #toc width: 15%; #content width: 86%;

fosterlynn avatar Feb 19 '24 22:02 fosterlynn

Hi @fosterlynn and @hoijui. We've recently released a new version with a new profile named "supermodel". It has an improved styling based on asciidoctor. Do you mind trying that out and see if it works for you? Thanks in advance.

edmondchuc avatar Feb 19 '24 22:02 edmondchuc

Here is the supermodel from about a week ago, and it looks good for me, unless there is supposed to be a logo somewhere.

Screenshot from 2024-02-19 18-24-38

fosterlynn avatar Feb 20 '24 00:02 fosterlynn

No logo yet, but we will eventually add something to lead people back to pyLODE. We just want to get initial feedback from the community with the new supermodel mode. Thanks for trying it out.

edmondchuc avatar Feb 20 '24 11:02 edmondchuc

It is called Supermodel, cause it works for both OWL and SKOS?

Btw, I already ported all the PRs I made recently to your supermodel branch about a week ago. :-)

(I think one bug happened during this porting which I still need to fix, and will maybe only get it it next week.)

hoijui avatar Feb 20 '24 20:02 hoijui