File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
projects/fab-speed-dial/src/lib Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ eco-fab-speed-dial {
6262 display : -webkit-box ;
6363 display : -webkit-flex ;
6464 display : flex ;
65- height : auto ;
65+ position :absolute ;
66+ height :0 ;
67+ width :0
6668 }
6769 }
6870
@@ -95,6 +97,12 @@ eco-fab-speed-dial {
9597 }
9698
9799 & .eco-down {
100+
101+ eco-fab-speed-dial-actions {
102+ bottom :2px ;
103+ left :7px ;
104+ }
105+
98106 .eco-fab-speed-dial-container {
99107 @include eco-fab-speed-dial-container (vertical , column );
100108
@@ -109,6 +117,11 @@ eco-fab-speed-dial {
109117 }
110118
111119 & .eco-up {
120+ eco-fab-speed-dial-actions {
121+ top :2px ;
122+ left :7px ;
123+ }
124+
112125 .eco-fab-speed-dial-container {
113126 @include eco-fab-speed-dial-container (vertical , column );
114127
@@ -123,6 +136,11 @@ eco-fab-speed-dial {
123136 }
124137
125138 & .eco-left {
139+ eco-fab-speed-dial-actions {
140+ top :7px ;
141+ left :2px ;
142+ }
143+
126144 .eco-fab-speed-dial-container {
127145 @include eco-fab-speed-dial-container (horizontal , row );
128146
@@ -137,6 +155,11 @@ eco-fab-speed-dial {
137155 }
138156
139157 & .eco-right {
158+ eco-fab-speed-dial-actions {
159+ top :7px ;
160+ right :2px ;
161+ }
162+
140163 .eco-fab-speed-dial-container {
141164 @include eco-fab-speed-dial-container (horizontal , row );
142165
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ export class EcoFabSpeedDialActionsComponent implements AfterContentInit {
9191 const dir = this . _parent . direction ;
9292 const translateFn = ( dir === 'up' || dir === 'down' ) ? 'translateY' : 'translateX' ;
9393 const sign = ( dir === 'down' || dir === 'right' ) ? '-' : '' ;
94-
9594 return translateFn + '(' + sign + value + ')' ;
9695 }
9796
You can’t perform that action at this time.
0 commit comments