From 12471d0859a8b40d09113ba1d9b377b542e9a3e3 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 20 Sep 2023 13:09:20 +0530 Subject: [PATCH 1/2] Fixed: Design issue on search results page at front office due to large button text length --- themes/hotel-reservation-theme/_partials/room_type_list.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/hotel-reservation-theme/_partials/room_type_list.tpl b/themes/hotel-reservation-theme/_partials/room_type_list.tpl index 14acd6222..edfb145a3 100644 --- a/themes/hotel-reservation-theme/_partials/room_type_list.tpl +++ b/themes/hotel-reservation-theme/_partials/room_type_list.tpl @@ -71,10 +71,10 @@
-
+
{$room_v['max_guests']|escape:'htmlall':'UTF-8'} {l s='Max guests:'}
{$room_v['max_adults']|escape:'htmlall':'UTF-8'} {l s='Adults'}, {$room_v['max_children']|escape:'htmlall':'UTF-8'} {if $room_v['children'] > 1}{l s='Children'}{else}{l s='Child'}{/if}
-
+
{if !isset($restricted_country_mode) && !$PS_CATALOG_MODE && !$order_date_restrict} {if isset($occupancy_required_for_booking) && $occupancy_required_for_booking} From b760fcee3af32fc0f86ab9df92b0742eb4d81df1 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 15 Nov 2023 13:38:26 +0530 Subject: [PATCH 2/2] Hide long button texts --- themes/hotel-reservation-theme/css/global.css | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/hotel-reservation-theme/css/global.css b/themes/hotel-reservation-theme/css/global.css index 3cd05730d..1fe680c84 100644 --- a/themes/hotel-reservation-theme/css/global.css +++ b/themes/hotel-reservation-theme/css/global.css @@ -6540,6 +6540,7 @@ table.table_block td { } .input-occupancy, .form-control .input-occupancy { text-align: left; + overflow: hidden; } .page-product-box {