This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 175175 \'md-no-transition\': $mdTabsCtrl.lastSelectedIndex == null,\
176176 \'md-active\': tab.isActive(),\
177177 \'md-left\': tab.isLeft(),\
178- \'md-right\': tab.isRight()\
178+ \'md-right\': tab.isRight(),\
179+ \'md-no-scroll\': dynamicHeight\
179180 }"></md-tab-content>\
180181 </md-tabs-content-wrapper>\
181182 ' ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ md-tabs {
1717 border-radius : 2px ;
1818 overflow : hidden ;
1919 position : relative ;
20+ transition : height $swift-ease-in-out-duration $swift-ease-in-out-timing-function ;
2021 & :not (.md-no-tab-content ) {
2122 min-height : 200 + $tabs-header-height ;
2223 }
@@ -37,14 +38,6 @@ md-tabs {
3738 border-style : solid ;
3839 }
3940 }
40- & [md-dynamic-height ] {
41- transition : height $swift-ease-in-out-duration $swift-ease-in-out-timing-function ;
42- md-tabs-content-wrapper {
43- md-tab-content {
44- bottom : initial ;
45- }
46- }
47- }
4841 md-tabs-wrapper {
4942 display : block ;
5043 position : relative ;
@@ -189,6 +182,11 @@ md-tabs {
189182 top : 0 ; left : 0 ; right : 0 ; bottom : 0 ;
190183 transform : translateX (0 );
191184 transition : transform $swift-ease-in-out-duration $swift-ease-in-out-timing-function ;
185+ overflow : auto ;
186+ & .md-no-scroll {
187+ bottom : auto ;
188+ overflow : hidden ;
189+ }
192190 & .ng-leave , & .md-no-transition {
193191 transition : none ;
194192 }
You can’t perform that action at this time.
0 commit comments