mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-02-13 07:36:29 +08:00
[offers][misc] make table rows shorter
This commit is contained in:
@@ -34,28 +34,28 @@ export default function OfferTableRow({
|
||||
}: OfferTableRowProps) {
|
||||
return (
|
||||
<tr key={id} className="divide-x divide-slate-200 border-b bg-white">
|
||||
<td className="space-y-0.5 py-4 px-4" scope="row">
|
||||
<td className="space-y-0.5 py-2 px-4" scope="row">
|
||||
<div className="font-medium">{company.name}</div>
|
||||
<div className="text-xs text-slate-500">
|
||||
{location.cityName} ({location.countryCode})
|
||||
</div>
|
||||
</td>
|
||||
<td className="py-4 px-4">
|
||||
<td className="py-2 px-4">
|
||||
{getLabelForJobTitleType(title as JobTitleType)}
|
||||
</td>
|
||||
<td className="py-4 px-4">{totalYoe}</td>
|
||||
<td className="py-4 px-4">{convertMoneyToString(income)}</td>
|
||||
<td className="py-2 px-4">{totalYoe}</td>
|
||||
<td className="py-2 px-4">{convertMoneyToString(income)}</td>
|
||||
{jobType === JobType.FULLTIME && (
|
||||
<td className="py-4 px-4">
|
||||
<td className="py-2 px-4">
|
||||
{`${convertMoneyToString(baseSalary)} / ${convertMoneyToString(
|
||||
bonus,
|
||||
)} / ${convertMoneyToString(stocks)}`}
|
||||
</td>
|
||||
)}
|
||||
<td className="py-4 px-4">{formatDate(monthYearReceived)}</td>
|
||||
<td className="py-2 px-4">{formatDate(monthYearReceived)}</td>
|
||||
<td
|
||||
className={clsx(
|
||||
'sticky right-0 bg-white px-4 py-4 drop-shadow lg:drop-shadow-none',
|
||||
'sticky right-0 bg-white px-4 py-2 drop-shadow lg:drop-shadow-none',
|
||||
)}>
|
||||
<Link
|
||||
className="text-primary-600 dark:text-primary-500 font-medium hover:underline"
|
||||
|
||||
Reference in New Issue
Block a user