mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-07 12:51:02 +00:00
remove setFloat() && setPadding() from linkHtml
This commit is contained in:
1 parent
532a4e880a
commit
72e26d4868
1 file changed
-3
-3
@@ -1,7 +1,6 @@
|
||||
package com.sap.sailing.gwt.ui.raceboard;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Style;
|
||||
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
|
||||
import com.google.gwt.safehtml.shared.SafeHtml;
|
||||
import com.google.gwt.user.client.Window;
|
||||
@@ -61,8 +60,6 @@ public class GlobalNavigationPanel extends FlowPanel {
|
||||
|
||||
HTML linkHtml = new HTML(ANCHORTEMPLATE.anchor(URLFactory.INSTANCE.encode(url), linkName));
|
||||
linkHtml.addStyleName(STYLE_NAME_PREFIX + styleNameExtension);
|
||||
linkHtml.getElement().getStyle().setFloat(Style.Float.LEFT);
|
||||
linkHtml.getElement().getStyle().setPadding(5, Style.Unit.PX);
|
||||
add(linkHtml);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user