File tree Expand file tree Collapse file tree 2 files changed +100
-100
lines changed
tests/snapshot_tests/__snapshots__/test_snapshots Expand file tree Collapse file tree 2 files changed +100
-100
lines changed Original file line number Diff line number Diff line change @@ -1236,9 +1236,9 @@ def _get_box_model(
12361236 content_width = Fraction (
12371237 self .get_content_width (content_container - margin .totals , viewport )
12381238 )
1239- if styles . overflow_x == "auto" and (
1240- styles .scrollbar_gutter == "stable" or self . show_vertical_scrollbar
1241- ):
1239+ if (
1240+ styles .overflow_x == "auto" and styles . scrollbar_gutter == "stable"
1241+ ) or self . show_vertical_scrollbar :
12421242 content_width += styles .scrollbar_size_vertical
12431243 if (
12441244 content_width < content_container .width
@@ -1288,9 +1288,9 @@ def _get_box_model(
12881288 content_height = Fraction (
12891289 self .get_content_height (content_container , viewport , int (content_width ))
12901290 )
1291- if styles . overflow_y == "auto" and (
1292- styles .scrollbar_gutter == "stable" or self . show_horizontal_scrollbar
1293- ):
1291+ if (
1292+ styles .overflow_y == "auto" and styles . scrollbar_gutter == "stable"
1293+ ) or self . show_horizontal_scrollbar :
12941294 content_height += styles .scrollbar_size_horizontal
12951295 if (
12961296 content_height < content_container .height
You can’t perform that action at this time.
0 commit comments