@@ -85,10 +85,10 @@ export default Base.extend({
8585 const bounds = utils . get_bounds ( this . el ) ;
8686 const x = bounds . x ;
8787 const width = bounds . width ;
88- const border_left = utils . getCSSValue ( this . el , "border-left" , true ) ;
89- const padding_left = utils . getCSSValue ( this . el , "padding-left" , true ) ;
90- const border_right = utils . getCSSValue ( this . el , "border-right" , true ) ;
91- const padding_right = utils . getCSSValue ( this . el , "padding-right" , true ) ;
88+ const border_left = dom . get_css_value ( this . el , "border-left" , true ) ;
89+ const padding_left = dom . get_css_value ( this . el , "padding-left" , true ) ;
90+ const border_right = dom . get_css_value ( this . el , "border-right" , true ) ;
91+ const padding_right = dom . get_css_value ( this . el , "padding-right" , true ) ;
9292 const max_width =
9393 width - border_left - padding_left - padding_right - border_right ;
9494 const max_x = bounds . x + max_width + border_left + padding_left ;
@@ -114,7 +114,7 @@ export default Base.extend({
114114 logger . debug ( "Entering _adjust_tabs" ) ;
115115 const children = [ ...this . el . children ] . filter (
116116 ( it ) =>
117- dom . is_visible ( it ) && utils . getCSSValue ( it , "position" ) !== "absolute"
117+ dom . is_visible ( it ) && dom . get_css_value ( it , "position" ) !== "absolute"
118118 ) ; // remove elements, which do not count against available width.
119119
120120 const children_no_extra = children . filter (
@@ -137,7 +137,7 @@ export default Base.extend({
137137 for ( const it of children ) {
138138 const bounds = utils . get_bounds ( it ) ;
139139 const it_x = bounds . x ;
140- const it_w = bounds . width + utils . getCSSValue ( this . el , "margin-right" , true ) ;
140+ const it_w = bounds . width + dom . get_css_value ( this . el , "margin-right" , true ) ;
141141
142142 logger . debug ( "Item:" ) ;
143143 logger . debug ( it ) ;
0 commit comments