generated from nhcarrigan/template
fix: border styling on buttons
This commit is contained in:
parent
7bd505d02f
commit
ac6c24eff2
@ -51,7 +51,7 @@ const Work = (): JSX.Element => {
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p className="h-14 w-14 border-[--current] border-solid border-2"></p>
|
||||
<p className="h-14 w-14 border-[--current] border-double border-4"></p>
|
||||
</td>
|
||||
<td className="text-[--current]">Current Contract</td>
|
||||
</tr>
|
||||
|
@ -44,6 +44,8 @@ export const Job = (props: JobProps): JSX.Element => {
|
||||
: end
|
||||
? "border-[--former]"
|
||||
: "border-[--current]";
|
||||
|
||||
const borderStyle = end ? "border-dashed border-2" : "border-double border-4";
|
||||
return (
|
||||
<li className={`mb-10 ms-6 ${color}`}>
|
||||
<span
|
||||
@ -75,7 +77,7 @@ export const Job = (props: JobProps): JSX.Element => {
|
||||
)}
|
||||
<button
|
||||
onClick={toggleDescription}
|
||||
className={`inline-flex items-center px-4 py-2 text-sm font-medium border-double border-4 ${border}`}
|
||||
className={`inline-flex items-center px-4 py-2 text-sm font-medium ${borderStyle} ${border}`}
|
||||
>
|
||||
{showDescription ? "Hide Details" : "Show Details"}
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user