@@ -4629,26 +4629,39 @@ button[data-testid='createPostBtn'] {
4629
4629
display : flex;
4630
4630
position : relative;
4631
4631
width : 100% ;
4632
- margin-top : 10 px ;
4632
+ overflow : hidden; /* Ensures content doesn't overflow the card */
4633
4633
justify-content : center;
4634
+ border : 1px solid # ccc ;
4634
4635
}
4635
4636
4636
4637
.previewVenueModal img {
4637
4638
width : 400px ;
4638
4639
height : auto;
4640
+ object-fit : cover; /* Ensures the image stays within the boundaries */
4639
4641
}
4640
4642
4641
4643
.closeButtonP {
4642
4644
position : absolute;
4643
4645
top : 0px ;
4644
4646
right : 0px ;
4647
+ width : 32px ; /* Make the button circular */
4648
+ height : 32px ; /* Make the button circular */
4645
4649
background : transparent;
4646
4650
transform : scale (1.2 );
4647
4651
cursor : pointer;
4652
+ border-radius : 50% ;
4648
4653
border : none;
4649
4654
color : var (--grey-dark );
4650
4655
font-weight : 600 ;
4651
4656
font-size : 16px ;
4657
+ transition :
4658
+ background-color 0.3s ,
4659
+ transform 0.3s ;
4660
+ }
4661
+
4662
+ .closeButtonP : hover {
4663
+ transform : scale (1.1 ); /* Slightly enlarge on hover */
4664
+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.2 ); /* Add a shadow on hover */
4652
4665
}
4653
4666
4654
4667
/* YearlyEventCalender.tsx */
@@ -5084,12 +5097,15 @@ button[data-testid='createPostBtn'] {
5084
5097
position : relative;
5085
5098
width : 100% ;
5086
5099
margin-top : 10px ;
5100
+ overflow : hidden; /* Ensures content doesn't overflow the card */
5087
5101
justify-content : center;
5102
+ border : 1px solid # ccc ;
5088
5103
}
5089
5104
5090
5105
.previewAdvertisementRegister img {
5091
5106
width : 400px ;
5092
5107
height : auto;
5108
+ object-fit : cover; /* Ensures the image stays within the boundaries */
5093
5109
}
5094
5110
5095
5111
.previewAdvertisementRegister video {
@@ -5098,14 +5114,27 @@ button[data-testid='createPostBtn'] {
5098
5114
}
5099
5115
5100
5116
.closeButtonAdvertisementRegister {
5117
+ position : absolute;
5118
+ top : 0px ;
5119
+ right : 0px ;
5120
+ width : 32px ; /* Make the button circular */
5121
+ height : 32px ; /* Make the button circular */
5101
5122
background : transparent;
5123
+ transform : scale (1.2 );
5102
5124
cursor : pointer;
5125
+ border-radius : 50% ;
5103
5126
border : none;
5104
5127
color : var (--grey-dark );
5105
5128
font-weight : 600 ;
5106
5129
font-size : 16px ;
5107
- margin-bottom : 10px ;
5108
- cursor : pointer;
5130
+ transition :
5131
+ background-color 0.3s ,
5132
+ transform 0.3s ;
5133
+ }
5134
+
5135
+ .closeButtonAdvertisementRegister : hover {
5136
+ transform : scale (1.1 ); /* Slightly enlarge on hover */
5137
+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.2 ); /* Add a shadow on hover */
5109
5138
}
5110
5139
5111
5140
.buttonAdvertisementRegister {
0 commit comments