Change all filter icon to bx bx-slider-alt ms-2. In image Gallery, Directory and Project List. #283

Closed
kartik.sharma wants to merge 25 commits from Kartik_Bug#800 into Issues_July_4W
2 changed files with 3 additions and 7 deletions
Showing only changes of commit 12d8184b70 - Show all commits

View File

@ -300,7 +300,7 @@ const DirectoryPageHeader = ({
data-bs-toggle="dropdown"
aria-expanded="false"
>
<i className={`bx bx-slider-alt ${notesFilterCount > 0 ? "text-primary" : "text-muted"}`}></i>
<i className={`bx bx-slider-alt ms-1 ${notesFilterCount > 0 ? "text-primary" : "text-muted"}`}></i>
{notesFilterCount > 0 && (
<span className="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-warning" style={{ fontSize: "0.4rem" }}>
{notesFilterCount}
@ -433,7 +433,7 @@ const DirectoryPageHeader = ({
data-bs-toggle="dropdown"
aria-expanded="false"
>
<i className={`bx bx-slider-alt ${filtered > 0 ? "text-primary" : "text-muted"}`}></i>
<i className={`bx bx-slider-alt ms-1 ${filtered > 0 ? "text-primary" : "text-muted"}`}></i>
{filtered > 0 && (
<span className="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-warning" style={{ fontSize: "0.4rem" }}>
{filtered}

View File

@ -317,11 +317,7 @@ useEffect(() => {
onClick={() => setIsFilterPanelOpen((p) => !p)}
ref={filterButtonRef}
>
{isFilterPanelOpen ? (
<i className="fa-solid fa-times fs-5" />
) : (
<i className="fa-solid fa-filter ms-1 fs-5" />
)}
{isFilterPanelOpen ? <i className="fa-solid fa-times fs-5"></i> : <i className="bx bx-slider-alt ms-1"></i>}
</button>
<div className="activity-section">
{isLoading ? (