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 22 list-style : none ;
33 margin-left : 0 ;
44}
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 1212
1313 <div class =" col-md-4" >
1414 <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 " >
1616 {% 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" >
1918 {% 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 >
2221 </div >
2322
2423 {% if subCategoryContent != null %}
You can’t perform that action at this time.
0 commit comments