In ProjectNav.jsx and AttendancePage.jsx, remove inline CSS font-size styles and replace them with Bootstrap classes.
This commit is contained in:
parent
70d6684bbe
commit
17271f1900
@ -20,7 +20,6 @@ const ProjectNav = ({ onPillClick, activePill }) => {
|
||||
e.preventDefault();
|
||||
onPillClick("profile");
|
||||
}}
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
<i className="bx bx-user bx-sm me-1_5"></i> <span className="d-none d-md-inline">Profile</span>
|
||||
</a>
|
||||
@ -33,7 +32,6 @@ const ProjectNav = ({ onPillClick, activePill }) => {
|
||||
e.preventDefault();
|
||||
onPillClick("teams");
|
||||
}}
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
<i className="bx bx-group bx-sm me-1_5"></i><span className="d-none d-md-inline" > Teams</span>
|
||||
</a>
|
||||
@ -46,7 +44,6 @@ const ProjectNav = ({ onPillClick, activePill }) => {
|
||||
e.preventDefault();
|
||||
onPillClick("infra");
|
||||
}}
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
<i className="bx bx-grid-alt bx-sm me-1_5"></i> <span className="d-none d-md-inline">Infrastructure</span>
|
||||
</a>
|
||||
@ -62,7 +59,6 @@ const ProjectNav = ({ onPillClick, activePill }) => {
|
||||
e.preventDefault(); // Prevent page reload
|
||||
onPillClick("imagegallary");
|
||||
}}
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
<i className="bx bxs-file-image bx-sm me-1_5"></i> <span className="d-none d-md-inline">Image Gallary</span>
|
||||
</a>
|
||||
@ -76,7 +72,6 @@ const ProjectNav = ({ onPillClick, activePill }) => {
|
||||
e.preventDefault(); // Prevent page reload
|
||||
onPillClick("directory");
|
||||
}}
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
<i className='bx bxs-contact bx-sm me-1_5'></i> <span className="d-none d-md-inline">Directory</span>
|
||||
</a>
|
||||
|
@ -237,7 +237,6 @@ const AttendancePage = () => {
|
||||
onClick={() => setActiveTab("all")}
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#navs-top-home"
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
Today's
|
||||
</button>
|
||||
@ -249,7 +248,6 @@ const AttendancePage = () => {
|
||||
onClick={() => setActiveTab("logs")}
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#navs-top-profile"
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
Logs
|
||||
</button>
|
||||
@ -263,7 +261,6 @@ const AttendancePage = () => {
|
||||
onClick={() => setActiveTab("regularization")}
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#navs-top-messages"
|
||||
style={{ fontSize: '1rem' }}
|
||||
>
|
||||
Regularization
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user