@@ -364,18 +364,34 @@ function HotelBook() {
364
364
< img src = { src } alt = { props . RoomImgID } className = 'e-img' />
365
365
</ div >
366
366
< div className = 'e-info-container' >
367
- < div className = 'e-row-template-separator ' >
368
- < div className = 'e-flex-layout' >
369
- < div className = 'e-info-flex-width-applier ' >
367
+ < div className = 'e-flex-layout ' >
368
+ < div className = 'e-info- flex-60-width e-flex- layout e-info-flex-direction-column ' >
369
+ < div className = 'e-row-template-separator e- info-flex-60-height ' >
370
370
< div >
371
371
< span className = 'e-semi-bold-header-text' > { props . HotelName } </ span >
372
372
</ div >
373
373
< div className = 'normal-text-color e-flex-layout e-margin-top-10' >
374
374
< span className = 'e-map-text-styler e-semi-title-header-text' onClick = { showMap } > < img src = "./images/map.png" className = "e-map-img" alt = "Map" title = 'Show on map' /> </ span >
375
375
< span className = 'e-address-text-styler e-map-text-spacer' > { props . Address } </ span >
376
376
</ div >
377
+ < div className = 'normal-text-color e-margin-top-10' >
378
+ { props . Description }
379
+ </ div >
380
+ </ div >
381
+ < div className = 'e-row-template-separator e-info-flex-40-height' >
382
+ < span className = 'e-semi-title-header-text' > Amenities:</ span >
383
+ < ChipListComponent cssClass = 'e-outline' >
384
+ < ChipsDirective >
385
+ { hotelFacilityList . map ( ( item , index ) => (
386
+ < ChipDirective key = { index } text = { item } cssClass = "e-info" enabled = { false } > </ ChipDirective >
387
+ ) ) }
388
+ </ ChipsDirective >
389
+ </ ChipListComponent >
377
390
</ div >
378
- < div className = 'e-info-flex-width-applier' >
391
+ </ div >
392
+ < div className = 'vertical-divider' > </ div >
393
+ < div className = 'e-info-flex-40-width e-flex-layout e-info-flex-direction-column' >
394
+ < div className = 'e-row-template-separator e-info-flex-50-height' >
379
395
< div >
380
396
< span className = 'e-semi-title-header-text' > Rating:</ span >
381
397
</ div >
@@ -387,37 +403,14 @@ function HotelBook() {
387
403
({ props . ReviewCount } reviews)
388
404
</ div >
389
405
</ div >
390
-
391
406
</ div >
392
- </ div >
393
- </ div >
394
- < div className = 'e-row-template-separator' >
395
- < div className = 'e-flex-layout' >
396
- < div className = 'e-info-flex-width-applier normal-text-color' >
397
- { props . Description }
398
- </ div >
399
- < div className = 'e-info-flex-width-applier' >
407
+ < div className = 'e-row-template-separator e-info-flex-50-height' >
400
408
< div >
401
409
< span className = 'e-semi-title-header-text' > Room Name:</ span > < span className = 'e-semi-bold-title-header-text' > { props . RoomName } </ span > < span className = 'normal-text-color' > ({ props . Capacity } person)</ span >
402
410
</ div >
403
411
< div className = 'e-semi-title-header-text normal-hint-text-color' > (Extra bed capacity: { props . ExtraBed } and per bed cost: ${ props . ExtraBedCost } )</ div >
404
412
</ div >
405
-
406
- </ div >
407
- </ div >
408
- < div className = 'e-row-template-separator' >
409
- < div className = 'e-flex-layout' >
410
- < div className = 'e-info-flex-width-applier' >
411
- < span className = 'e-semi-title-header-text' > Amenities:</ span >
412
- < ChipListComponent cssClass = 'e-outline' >
413
- < ChipsDirective >
414
- { hotelFacilityList . map ( ( item , index ) => (
415
- < ChipDirective key = { index } text = { item } cssClass = "e-info" enabled = { false } > </ ChipDirective >
416
- ) ) }
417
- </ ChipsDirective >
418
- </ ChipListComponent >
419
- </ div >
420
- < div className = 'e-info-flex-width-applier' >
413
+ < div className = 'e-row-template-separator e-info-flex-50-height' >
421
414
< span className = 'e-semi-title-header-text' > Room Amenities:</ span >
422
415
< ChipListComponent cssClass = 'e-outline' >
423
416
< ChipsDirective >
@@ -432,7 +425,7 @@ function HotelBook() {
432
425
</ div >
433
426
</ div >
434
427
< div className = 'e-data-line-separator' > </ div >
435
- < div className = 'e-book-layout' >
428
+ < div className = 'e-book-layout e-padding-side ' >
436
429
< div className = 'e-extralist-price-info-container' >
437
430
< div className = 'e-extralist-container' >
438
431
< ChipListComponent cssClass = 'e-outline' >
@@ -456,7 +449,7 @@ function HotelBook() {
456
449
</ div >
457
450
</ div >
458
451
< div className = 'e-book-spacer' > </ div >
459
- < div className = 'e-book-button e-padding-right ' >
452
+ < div className = 'e-book-button' >
460
453
< ButtonComponent cssClass = 'e-primary e-outline' onClick = { goToRoomBookingPage } disabled = { ! isRoomAvailable } > { ! isRoomAvailable ? "Room's not available" : "Book Room" } </ ButtonComponent >
461
454
</ div >
462
455
</ div >
@@ -896,7 +889,7 @@ function HotelBook() {
896
889
< div className = 'e-details-info-container' >
897
890
< div className = 'e-booking-details-container' >
898
891
< div className = 'e-header-text e-light-blue-border-bottom' > Booking Details</ div >
899
- < form id = "form1" method = "post" >
892
+ < form id = "form1" method = "post" className = 'e-margin-top-10' >
900
893
< div className = 'e-booking-details-separator' >
901
894
< div className = 'e-semi-header-text' > Personal information</ div >
902
895
< div className = 'e-flex-layout e-booking-details-separator' >
@@ -988,7 +981,7 @@ function HotelBook() {
988
981
</ div >
989
982
< div className = 'e-hotel-details-container' >
990
983
< div className = 'e-header-text e-light-blue-border-bottom' > Information</ div >
991
- < div className = 'e-hotel-details-side-bar-separator' > < span className = 'e-semi-title-header-text' > Hotel Name: </ span > < span className = 'e-semi-bold-header-text' > { selectedRoom . HotelName } </ span > </ div >
984
+ < div className = 'e-hotel-details-side-bar-separator e-margin-top-10 ' > < span className = 'e-semi-title-header-text' > Hotel Name: </ span > < span className = 'e-semi-bold-header-text' > { selectedRoom . HotelName } </ span > </ div >
992
985
< div className = 'e-info-flex-items-center-applier e-hotel-details-side-bar-separator' > < span className = 'e-semi-title-header-text' > Rating: </ span > < RatingComponent value = { selectedRoom . Rating } readOnly = { true } cssClass = 'e-custom-rating-color' > </ RatingComponent > </ div >
993
986
< div className = 'e-hotel-details-side-bar-separator' > < span className = 'e-semi-title-header-text' > Room Name: </ span > < span className = 'e-semi-bold-title-header-text' > { selectedRoom . RoomName } </ span > </ div >
994
987
< div className = 'e-hotel-details-side-bar-separator' > < span className = 'e-semi-title-header-text' > Capacity: </ span > < span className = 'normal-text-color' > { selectedRoom . Capacity } person</ span > </ div >
0 commit comments