ValidVotersTable: Remove unnecessary children manual borders

This commit is contained in:
David Ernst
2024-07-07 12:09:39 +03:00
parent b90db29bf0
commit 2ddec3af32
3 changed files with 2 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ export const CheckboxCell = ({
}) => {
return (
<td
className={`${hoverable} border border-solid border-[#ccc] px-2.5`}
className={`${hoverable}`}
onClick={() => {
const new_checked = [...checked]
if (pressing_shift && last_selected !== undefined) {
@@ -47,7 +47,7 @@ export const CheckboxHeaderCell = ({
set_checked: (checked: boolean[]) => void
set_last_selected: (index?: number) => void
}) => (
<th className="border border-solid border-[#ccc]">
<th>
<input
className="cursor-pointer"
type="checkbox"

View File

@@ -52,7 +52,6 @@ export const DeliveriesAndFailures = ({
</Tooltip>
<style jsx>{`
td {
border: 1px solid #ccc;
padding: 3px 10px;
margin: 0;
}

View File

@@ -27,7 +27,6 @@ export const QueuedCell = ({ invite_queued }: { invite_queued?: unknown[] }) =>
</Tooltip>
<style jsx>{`
td {
border: 1px solid #ccc;
padding: 3px 10px;
margin: 0;
}