cheat.sh icon indicating copy to clipboard operation
cheat.sh copied to clipboard

Topics dropdown is broken due of missing stylesheet.css

Open NedkoHristov opened this issue 7 years ago • 4 comments
trafficstars

Steps to reproduce:

  • Open cheat.sh;
  • Click on the empty space after $ curl cheat.sh/;
  • New dropdown expands.

Actual result: Dropdown design is broken. Screenshot attached.

Reason: https://cheat.sh/files/fonts/stylesheet.css is missing.

Configuration: Windows 10, Chrome (latest)

Screenshot: screenshot_4

NedkoHristov avatar Aug 01 '18 14:08 NedkoHristov

In my case everything works fine. (I've tested it in chrome, safari, and firefox, linux and ios). Reference to the fonts.css should be removed, you are right, it is broken + completely useless here.

chubin avatar Aug 01 '18 14:08 chubin

@chubin - thank for the answer. I'm using Google Chrome version 68.0.3440.84 (Official Build) (64-bit) on Windows 10 Pro on 2 displays with 1920x1080. On Firefox 61.0.1 (64-bit) works fine.

NedkoHristov avatar Aug 08 '18 08:08 NedkoHristov

@NedkoHristov actually, we are working on the new version of the web frontend anyway. You can take a look at it here:

https://cht.sh/:shell

the point is that you will have a shell prompt instead of the dropdown direct in browser, and you will be enter your query directly in it.

Does it work for you? Could you please try it?

chubin avatar Aug 08 '18 08:08 chubin

I've tested it on the same environment:

  • The new interface is awesome;
  • I haven't got any issues (network calls/console errors);
  • Why the gotty token is empty?
  • If I do a right click on the context menu I have an "Emoji" entry in my context. If I chose anything and click enter I'll get Internal server error;
  • enter ls/-lh. You'll get a prediction and if follow let's say list/:learn 53 you'll get an "Unknown topic" error. Probably something with those manual lines.

cht sh

NedkoHristov avatar Aug 10 '18 07:08 NedkoHristov