File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
java/gwt/material/design/client/base/mixin
resources/gwt/material/design/public/css Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525import gwt .material .design .client .constants .Orientation ;
2626import gwt .material .design .client .events .OrientationChangeEvent ;
2727import gwt .material .design .client .js .Window ;
28+ import gwt .material .design .client .ui .MaterialToast ;
2829
2930/**
3031 * @author kevzlou7979
@@ -38,8 +39,6 @@ public class OrientationMixin<T extends MaterialWidget & HasOrientation> extends
3839
3940 public OrientationMixin (T widget ) {
4041 super (widget );
41-
42- widget .registerHandler (widget .addAttachHandler (attachEvent -> setDetectOrientation (detectOrientation )));
4342 }
4443
4544 @ Override
@@ -66,7 +65,7 @@ public void setDetectOrientation(boolean detectOrientation) {
6665 }
6766
6867 if (detectOrientation ) {
69- orientationHandler = uiObject . registerHandler ( Window .addResizeHandler (resizeEvent -> detectAndApplyOrientation () ));
68+ orientationHandler = Window .addResizeHandler (resizeEvent -> detectAndApplyOrientation ());
7069 detectAndApplyOrientation ();
7170 }
7271 }
Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ nav.pinned {
675675}
676676
677677.search-result a span {
678- margin-left : 28 px ;
678+ margin-left : 0 px ;
679679}
680680
681681.search-result a : hover , .search-result a .higlighted {
@@ -986,6 +986,7 @@ i[class*="waves-"].material-icons {
986986 .input-field input [type = search ] {
987987 width : calc (100% - 10rem ) !important ;
988988 margin-bottom : 0 !important ;
989+ padding-left : 0px !important ;
989990 }
990991
991992 .input-field input [type = search ] + label {
You can’t perform that action at this time.
0 commit comments