From 9b1915e43b7a8e73932998dbf3f2688842954705 Mon Sep 17 00:00:00 2001 From: rdrew Date: Tue, 7 Jul 2026 08:56:40 -0300 Subject: [PATCH] sideshow on lp --- css/components/landing_page.css | 13 +++++++++++++ templates/content/node--landing-page.html.twig | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/css/components/landing_page.css b/css/components/landing_page.css index bd2ad11..4bc6f51 100755 --- a/css/components/landing_page.css +++ b/css/components/landing_page.css @@ -279,3 +279,16 @@ nav#block-olivesbooks-landingpagemenu { /* padding: 12px 10px 6px 10px; */ /* } */ /* } */ + +.lp_layout_container { + display: flex; + gap: 20px; /* optional spacing between them */ + .slider { + background: yellow; + flex: 0 0 300px; /* fixed at 300px, won't grow or shrink */ + } + article { + flex: 1; /* fluid, takes remaining space */ + min-width: 0; /* prevents overflow issues with text content */ + } +} diff --git a/templates/content/node--landing-page.html.twig b/templates/content/node--landing-page.html.twig index 2332ee8..75f7f38 100755 --- a/templates/content/node--landing-page.html.twig +++ b/templates/content/node--landing-page.html.twig @@ -114,5 +114,6 @@ view_mode ? 'node--view-mode-' ~ view_mode|clean_class, {% endif %} - + +