Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
### Eclipse Workspace Patch 1.0
#P Drupalwiki
Index: sites/all/modules/tabs/drupal-tabs.css
===================================================================
--- sites/all/modules/tabs/drupal-tabs.css (revision 750)
+++ sites/all/modules/tabs/drupal-tabs.css (working copy)
@@ -28,5 +28,5 @@
}
.ui-tabs-hide {
position: absolute;
- left: -1000px;
+ display:none;
}
---
Is there any reason to use left:-1000px?
Well for floating content this is nonsense anyway..well no idea where it even makes sense.
Using display:none now
Comments
Comment #1
nedjoWe used to use display: none but it breaks some javascript behaviours e.g. gmaps because content needs to be displayed for the behaviours to work.
I've increased the offset and set visibility to hidden, which should resolve this display issue.
Comment #2
EugenMayer CreditAttribution: EugenMayer commentedThis wont fix it, as if your fields are floating, there will float into the screen in any case, no matter how far you put them on the left side..
Comment #3
batje CreditAttribution: batje commentedWould it be possible to make it -10000px ? I added helptext to a Fieldgroup, and the right side of the control showed. (using Zen as a base-theme).
setting this to -10000px suffices.
(yup, overruled this in my theme, this would be just for convenience of the next person running into it)
Comment #4
nedjoClosing as users don't seem to be reporting issues with the latest change.