docsify-darklight-theme icon indicating copy to clipboard operation
docsify-darklight-theme copied to clipboard

Docsify-Themeable mobile half of the toggle button is not visible.

Open wynioux opened this issue 4 years ago • 1 comments

Docsify-Themeable mobile half of the toggle button is not visible. Can you fix it?

Here is the screenshots.

error1

error2

wynioux avatar Oct 16 '20 19:10 wynioux

This problem also seems to happen on desktop. My band-aid fix is as follows, in your index.html add this to the <head></head> section:

  <style>#docsify-darklight-theme {right: 25px;}</style>

25px is the width of the element to which the background icon has been set. Maybe there have been some differences in browser CSS implementations but I don't understand the reason for using a negative(!) half-width right offset?

thediveo avatar Jun 21 '21 10:06 thediveo