https://bugs.freedesktop.org/show_bug.cgi?id=73114
Korrawit Pruegsanusak <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|detective.conan.1412@gmail. |[email protected] |com |desktop.org --- Comment #4 from Korrawit Pruegsanusak <[email protected]> --- First, sorry for very late reply. If we want to get the logo at the same point (topmost, in the middle), I still can't figure out how to do it properly. However, what I've found are: 1. We can make it "looks" transparent, by changing "background-color: #ffffff" to "background-color: transparent" in GerritSite.css. BUT, this only hides the problem, because the logo is still on top, not really in the back, ie. you can't click in the search box in overlapping area. 2. We can add and run javascript in the header, by adding the code snippets into GerritSiteHeader.html. I thought that the code should check the width of class "topmenuTDglue", which has the only element between left-sided menu and right-sided search box, and then adjust the logo size as following its width. The example code, add this to GerritSiteHeader.html: > <script type="text/javascript"> > e = > document.getElementsByClassName("topmenuTDglue").item(0).getBoundingClientRect(); > // More info at > https://developer.mozilla.org/en-US/docs/Web/API/element.getBoundingClientRect > </script> BUT, all the pages are loaded in javascript manner, including "topmenuTDglue", (to prove this: view the real source of page, not from developer console). So our script might run *before* the page loaded successfully -> the script couldn't find the element and return null. ---- Or, we should move it to another place, as Bjoern suggested in https://gerrit.libreoffice.org/7225 Also, I'm sorry to say that I don't have time to fix this bug anymore. So, I put this back to NEW and un-assigned myself. @Winfried, Yes, I also encountered that problem, but (1) I don't think that's the same problem with this bug, and (2) I didn't check if it's resolved or not. :\ -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
