File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 2
2
list-style : none ;
3
3
margin-left : 0 ;
4
4
}
5
+
6
+ // Category image styling to prevent overflow
7
+ .bg-light-subtle .img-fluid.float-end {
8
+ max-width : 140px !important ;
9
+ max-height : 140px !important ;
10
+ width : auto ;
11
+ height : auto ;
12
+ object-fit : cover ;
13
+ }
Original file line number Diff line number Diff line change 12
12
13
13
<div class =" col-md-4" >
14
14
<div class =" position-sticky" style =" top: 2rem" >
15
- <div class =" p-4 mb-3 bg-light-subtle rounded border" >
15
+ <div class =" p-4 mb-3 bg-light-subtle rounded border clearfix overflow-hidden " >
16
16
{% if categoryImage is not empty %}
17
- <img src =" {{ categoryImage }}" alt =" {{ categoryFaqsHeader }}" width =" 140" height =" 140"
18
- class =" rounded img-fluid float-end m-1" >
17
+ <img src =" {{ categoryImage }}" alt =" {{ categoryFaqsHeader }}" class =" rounded img-fluid float-end m-1" >
19
18
{% endif %}
20
- <h4 class =" fst-italic" >{{ categoryFaqsHeader }}</h4 >
21
- <p class =" mb-0 small" >{{ categoryDescription }}</p >
19
+ <h4 class =" fst-italic" >{{ categoryFaqsHeader | raw }}</h4 >
20
+ <p class =" mb-0 small" >{{ categoryDescription | raw }}</p >
22
21
</div >
23
22
24
23
{% if subCategoryContent != null %}
You can’t perform that action at this time.
0 commit comments