Skip to content

Commit 0ae3419

Browse files
committed
fix(action-sheet): reduce filter calc nesting
1 parent 5d189bf commit 0ae3419

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/default/scss/action-sheet/_layout.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
}
254254

255255
.k-actionsheet-filter {
256-
width: calc( min(100%, calc( 360px - calc( #{$kendo-adaptive-actionsheet-titlebar-padding-x} * 2 )) ) );
256+
width: calc( 360px - #{$kendo-adaptive-actionsheet-titlebar-padding-x} * 2 );
257257
}
258258
.k-actionsheet-content,
259259
.k-actionsheet-footer {

packages/fluent/scss/action-sheet/_layout.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
}
284284

285285
.k-actionsheet-filter {
286-
width: calc( min(100%, calc( 360px - calc( #{$kendo-adaptive-actionsheet-header-padding-x} * 2 ) ) ) );
286+
width: calc( 360px - #{$kendo-adaptive-actionsheet-header-padding-x} * 2 );
287287
}
288288
.k-actionsheet-content,
289289
.k-actionsheet-footer {

0 commit comments

Comments
 (0)