[tw5] Re: Restyling a drop zone

2021-06-27 Thread Soren Bjornstad
Yes, $:/sib/Templates/Automatic/OpenTopBar . I tagged it $:/tags/TopLeftBar, but I think one could instead use the PageTemplate or several other tags as well since the location on screen is fixed via

[tw5] Re: Restyling a drop zone

2021-06-27 Thread Darth Mole
Hello Soren! As always awesome solution/work! I just had a quick question; is it safe to assume that you need a tiddler, with the following code, open in the storylist for your code to work? Or did you add it to a template? <> Thanks! On Sunday, June 27, 2021 at 12:41:25 PM UTC-4 Soren

[tw5] Re: Restyling a drop zone

2021-06-27 Thread Saq Imtiaz
> Saq, thanks, that was *very* helpful. (For anyone else who comes along, > that should be "tc-dragover", with a dash, not a dot.) > Happy it helped and apologies for the typo. Another neat trick when trying to inspect tricky CSS that involves transient states is to trigger the debugger

[tw5] Re: Restyling a drop zone

2021-06-27 Thread Soren Bjornstad
Maki, yeah, I had previously tried inline-block along with a bunch of other things in that rule. It didn't help because I hadn't targeted the item underneath it as well. Saq, thanks, that was *very* helpful. (For anyone else who comes along, that should be "tc-dragover", with a dash, not a

[tw5] Re: Restyling a drop zone

2021-06-27 Thread Saq Imtiaz
Inspect the dropzone DOM node with the browser dev tools and add the class "tc.dragover". This will allow you see what CSS is active during the drag over and make it easier to arrive at a solution. On Sunday, June 27, 2021 at 1:18:07 AM UTC+2 Soren Bjornstad wrote: > I'm creating a horizontal

[tw5] Re: Restyling a drop zone

2021-06-26 Thread maki aea
wish i could try this on your code to see if it works first, but have you tried div.sib-quick-tiddler-jump .tc-dropzone.tc-dragover:before { display: inline-block; instead of display: block; ? sorry am on ios mobile so using google groups is difficult for me, sorry for short message