]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed TabSheet tab bar sizing by removing an obsolete Safari hack (#12343)
authorJuho Nurminen <juho@vaadin.com>
Mon, 9 Dec 2013 10:33:22 +0000 (12:33 +0200)
committerVaadin Code Review <review@vaadin.com>
Tue, 10 Dec 2013 14:33:36 +0000 (14:33 +0000)
Change-Id: I627dee377aa19aab2168152cf7cbe3cfd6f95e10

client/src/com/vaadin/client/ui/VTabsheet.java

index 379b6107f40912dd5567932bbb340221d6af1ba6..b65f058a46040c52f8da5822380f9e5fab5f885e 100644 (file)
@@ -988,11 +988,6 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
         }
 
         if (BrowserInfo.get().isSafari()) {
-            // fix tab height for safari, bugs sometimes if tabs contain icons
-            String property = tabs.getStyle().getProperty("height");
-            if (property == null || property.equals("")) {
-                tabs.getStyle().setPropertyPx("height", tb.getOffsetHeight());
-            }
             /*
              * another hack for webkits. tabscroller sometimes drops without
              * "shaking it" reproducable in