@@ -85,10 +85,10 @@ export default Base.extend({
85
85
const bounds = utils . get_bounds ( this . el ) ;
86
86
const x = bounds . x ;
87
87
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 ) ;
92
92
const max_width =
93
93
width - border_left - padding_left - padding_right - border_right ;
94
94
const max_x = bounds . x + max_width + border_left + padding_left ;
@@ -114,7 +114,7 @@ export default Base.extend({
114
114
logger . debug ( "Entering _adjust_tabs" ) ;
115
115
const children = [ ...this . el . children ] . filter (
116
116
( it ) =>
117
- dom . is_visible ( it ) && utils . getCSSValue ( it , "position" ) !== "absolute"
117
+ dom . is_visible ( it ) && dom . get_css_value ( it , "position" ) !== "absolute"
118
118
) ; // remove elements, which do not count against available width.
119
119
120
120
const children_no_extra = children . filter (
@@ -137,7 +137,7 @@ export default Base.extend({
137
137
for ( const it of children ) {
138
138
const bounds = utils . get_bounds ( it ) ;
139
139
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 ) ;
141
141
142
142
logger . debug ( "Item:" ) ;
143
143
logger . debug ( it ) ;
0 commit comments