alexwforsythe / code-blocks

Syntax highlighting for Google Docs
https://www.alexwforsythe.com/code-blocks/
MIT License
701 stars 89 forks source link

Buttons are hidden by default on small screens #60

Closed ddikman closed 6 years ago

ddikman commented 6 years ago

Not sure if I didn't get how to use it or if it didn't work. The block where I expect I should write code simply was grey.

image

Best regards, David

alexwforsythe commented 6 years ago

Hi David. The grey box is just a preview area. To use the add-on:

  1. Select some text in your document
  2. Click Preview to preview the selected theme (optional)
  3. Click Format to replace the selected text in your document with the formatted code block
ddikman commented 6 years ago

I see, thank you for the response! Maybe I'm being obliviously stupid here but, where does the preview button show up?

alexwforsythe commented 6 years ago

Oh, I didn't even notice that the buttons are missing in your screenshot! That's probably a bug. Could you try reinstalling the add-on? If they still don't show up, can you tell me what browser you're using?

ddikman commented 6 years ago

Hi mate, Thanks for getting back to me.

Tried reinstalling but to no avail. However :) when playing around with the developer tools having it up on a smaller screen and by accident scrolling I found it :)

image

Chrome sneakily hides away that scrollbar hiding the button in low resolution screens (I'm on a 11" macbook air).

Could fix the button at the bottom of the panel or so but no biggie :) if I get to annoyed with it I can try and fork a fix.

Once working it looks real nice though :)

Thanks again.

/ David

alexwforsythe commented 6 years ago

Glad you got it working, and thanks for finding the issue! I'll keep this open to track the fix.