diff --git a/assets/styles/_utilities.css b/assets/styles/_utilities.css new file mode 100644 index 0000000..09aebd2 --- /dev/null +++ b/assets/styles/_utilities.css @@ -0,0 +1,7 @@ +@layer utilities { + /* Reserve the scrollbar gutter so content does not shift width when a + scrollbar appears (e.g. when a collapsible section is opened). */ + .scroll-stable { + scrollbar-gutter: stable; + } +} diff --git a/assets/styles/app.css b/assets/styles/app.css index aff375a..c4a5ab7 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -4,4 +4,5 @@ @import "tailwindcss/components"; @import "_components.css"; -@import "tailwindcss/utilities"; \ No newline at end of file +@import "tailwindcss/utilities"; +@import "_utilities.css"; \ No newline at end of file diff --git a/templates/booking/_summary.html.twig b/templates/booking/_summary.html.twig index 5ba4e36..b638412 100644 --- a/templates/booking/_summary.html.twig +++ b/templates/booking/_summary.html.twig @@ -19,7 +19,7 @@ {# Content - toggleable on mobile, always visible on desktop #} -