removed space between check and view button

This commit is contained in:
Pramod Mahajan 2025-04-07 17:15:17 +05:30
parent 93c95e007a
commit 2081b13d64
2 changed files with 6 additions and 6 deletions

View File

@ -45,12 +45,12 @@ const AttendanceLog = ({ attendance, handleModalData, projectId }) => {
</div> </div>
</div> </div>
<div className="table-responsive"> <div className="table-responsive text-nowrap">
{attendance && attendance.length > 0 ? ( {attendance && attendance.length > 0 ? (
<table className="table mb-0"> <table className="table mb-0">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th className="border-top-0" colSpan={2}>Name</th>
<th> <th>
<i className="bx bxs-down-arrow-alt text-success"></i> Check-In <i className="bx bxs-down-arrow-alt text-success"></i> Check-In
</th> </th>
@ -69,7 +69,7 @@ const AttendanceLog = ({ attendance, handleModalData, projectId }) => {
{renderAttendanceData?.map((attendance, index) => ( {renderAttendanceData?.map((attendance, index) => (
<tr key={index}> <tr key={index}>
<td> <td colSpan={2}>
<div className="d-flex justify-content-start align-items-center"> <div className="d-flex justify-content-start align-items-center">
<Avatar firstName={attendance.firstName} lastName={attendance.lastName} /> <Avatar firstName={attendance.firstName} lastName={attendance.lastName} />
<div className="d-flex flex-column"> <div className="d-flex flex-column">

View File

@ -14,11 +14,11 @@ const Regularization = ({attendance,handleRequest}) => {
},[attendance]) },[attendance])
return ( return (
<div className="table-responsive"> <div className="table-responsive text-nowrap">
<table className="table mb-0"> <table className="table mb-0">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th colSpan={2}>Name</th>
<th>Date</th> <th>Date</th>
<th><i className='bx bxs-down-arrow-alt text-success' ></i>Check-In</th> <th><i className='bx bxs-down-arrow-alt text-success' ></i>Check-In</th>
<th><i className='bx bxs-up-arrow-alt text-danger' ></i>Check-Out</th> <th><i className='bx bxs-up-arrow-alt text-danger' ></i>Check-Out</th>
@ -30,7 +30,7 @@ const Regularization = ({attendance,handleRequest}) => {
regularize_Requests.length > 0 ? ( regularize_Requests.length > 0 ? (
regularize_Requests?.map((att, index) => ( regularize_Requests?.map((att, index) => (
<tr key={index}> <tr key={index}>
<td> <td colSpan={2}>
<div className="d-flex justify-content-start align-items-center"> <div className="d-flex justify-content-start align-items-center">
<Avatar <Avatar
firstName={att.firstName} firstName={att.firstName}