Aris-t2 / CustomCSSforFx

Custom CSS tweaks for Firefox
GNU General Public License v3.0
1.86k stars 181 forks source link

Dragging tabs from first row to another row does not work #205

Closed aisen0921 closed 5 years ago

aisen0921 commented 5 years ago

I'm using tabs_below_navigation_toolbar_fx65_v2.css + tabs_multiple_lines_v3.css Is it possible to fix it?

Aris-t2 commented 5 years ago

Its possible, look here for the fix: https://github.com/Aris-t2/CustomCSSforFx/issues/39

tomchiverton commented 5 years ago

It's not clear to me where in the huge #39 the fix is. I've changed from tabs_multiple_lines_v2.css to tabs_multiple_lines_v3.css and in FF68 drag and drop across lines is busted.

What people need to do is foll0w https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme/tree/master/Multirow%20and%20other%20functions/Multirow%20tabs

Add their userChrome.js and userChrome.xml to the profile folder, then add

/* This enables the use of JS external files */
toolbarbutton#alltabs-button {
    -moz-binding: url("userChrome.xml#js")}

to userChome.css e.g. via my_userChrome.css

Aris-t2 commented 5 years ago

39 contains a similar JavaScript fix (probably not up-to-date anymore // not mine anyways) to drag tabs in a multi-tab-row environment. The CSS is for creating the multi-tab-row environment and by that time already three different CSS code snippets could create that environment (v1-3). The result was different though (tabs size, new tab position etc...).