logseq-awesome-ui icon indicating copy to clipboard operation
logseq-awesome-ui copied to clipboard

Wide header makes Whiteboards disapper

Open alxlg opened this issue 1 year ago • 9 comments

Info:

  • OS: Linux

  • Logseq ver: 0.9.19

  • Plugin ver: 2.3.2

  • Theme name: Awesome Styler

  • [x] ⚠ Do i have issue with DISABLED my custom.css?

Description: The setting Header > Wide: immagine makes Whiteboards disappear.

To Reproduce:

  1. Enable the setting above
  2. Open a Whiteboard

Expected behavior:

  1. The Whiteboard should correctly display as always

Screenshots immagine

alxlg avatar Oct 16 '23 21:10 alxlg

have you reloaded Logseq? can't reproduce...

yoyurec avatar Oct 16 '23 22:10 yoyurec

@yoyurec yes, I had this issue for weeks, I can reproduce it with an empty graph, no custom.css and default theme.

The moment I toggle the setting this happens:

Before immagine

After immagine

I can live without that setting, I reported this just to let you know.

alxlg avatar Oct 16 '23 22:10 alxlg

I had this issue for weeks

interesting, cose week ago I've updated plugin...

yoyurec avatar Oct 16 '23 22:10 yoyurec

i've updated code... try latest 2.3.3, should be fixed. hard to fix in "blind mode" ))

yoyurec avatar Oct 17 '23 00:10 yoyurec

The moment I toggle the setting this happens

PS: sometimes (in most plugins always, reload needed on every change) settings toggling on/off not properly applid "live" - Ctrl+R to reload app with new settings and should be ok

yoyurec avatar Oct 17 '23 01:10 yoyurec

@alxlg ?

yoyurec avatar Oct 17 '23 22:10 yoyurec

Sorry, I have just tried the update and restarted the app. The issue is still there. I understand it may be impossible to solve this without being able to reproduce. Don't worry, I can just use a different setting. In case I have any insight on how to reproduce the issue I will let you know, thank you.

alxlg avatar Oct 18 '23 18:10 alxlg

Maybe it is specific to Linux? I have the same issue and @alxlg's solution have worked for me.

0nxku avatar Nov 25 '23 11:11 0nxku

I tried Logseq's whiteboard today and found it to be empty, with no toolbar at sight. I was able to track the issue down a little bit more.

I checked that the Wide header variant was selected, and that choosing the Standard one made the whiteboard work just like reported in this issue. I turned Wide on again and started to manually edit the HTML code. Removing the following part of the code made the toolbars to reappear:

https://github.com/yoyurec/logseq-awesome-ui/blob/6d03b0d1b78d9e75dd0413b3e6270025d9f08a8b/src/modules/sidebars/hideRightSidebarToolbar/hiddenRightSidebarToolbar.css#L5-L7

I was also able to make the toolbars to reappear after disabling the position: relative of .cp__sidebar-main-content>div using the Styles tab:

image

falcaopetri avatar Feb 06 '24 00:02 falcaopetri