Updated the desing for the hotel rating for the mobile view
This commit is contained in:
@@ -1213,8 +1213,8 @@ Quick View Styles
|
||||
margin-bottom: 10px;}
|
||||
|
||||
.hotel_name_block {
|
||||
display: flex;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.hotel_name_block h1 {
|
||||
font-size: 22px;
|
||||
@@ -1724,10 +1724,26 @@ ul.service-product-nav > li:hover {
|
||||
#room_info_hotel_images .skeleton-loading-wrap .loading-container-box {
|
||||
height: 200px; }
|
||||
#hotel_rating {
|
||||
position:relative;
|
||||
top: -3px;
|
||||
display: inline-flex;
|
||||
color: #3e3d3d;
|
||||
color: #333;
|
||||
gap: 1px;
|
||||
font-size: 12px;
|
||||
margin-left: 10px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
#hotel_rating i {
|
||||
font-size: 12px;
|
||||
}
|
||||
@media (min-width:768px) {
|
||||
.hotel_name_block{
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.hotel_name{
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
@media (max-width:768px) {
|
||||
#hotel_rating {
|
||||
margin-left: 0px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -68,9 +68,9 @@
|
||||
<div class="room_type_img_containter card">
|
||||
<div class="room_hotel_name_block">
|
||||
<div class="hotel_name_block">
|
||||
<h1>{$product->name}
|
||||
<h1><span class="hotel_name">{$product->name}
|
||||
{* Block for booking products *}
|
||||
{if isset($id_hotel) && $id_hotel} - {$hotel_name}{/if}
|
||||
{if isset($id_hotel) && $id_hotel} - {$hotel_name}{/if}</span>{if isset($hotel_rating) && $hotel_rating}<div id="hotel_rating">{for $i=0; $i < $hotel_rating; $i++}<i class="icon-star"></i>{/for}</div>{/if}
|
||||
</h1>
|
||||
{if isset($hotel_rating) && $hotel_rating}<div id="hotel_rating">{for $i=0; $i < $hotel_rating; $i++}<i class="icon-star"></i>{/for}</div>{/if}
|
||||
{hook h='displayRoomTypeDetailRoomTypeNameBlock' id_product=$product->id}
|
||||
|
||||
Reference in New Issue
Block a user