V2Wizard: Center messages in packages table (HMS-2781)

The copy in the packages table (too many results to show, etc...) was
not centered because the table actually has 5 columns, not 4. This fixes
the problem.
This commit is contained in:
lucasgarfield 2024-04-02 11:06:11 +02:00 committed by Lucas Garfield
parent d2c56391f9
commit d97a401a53

View file

@ -44,7 +44,7 @@ export type IBPackageWithRepositoryInfo = {
const EmptySearch = () => {
return (
<Tr>
<Td colSpan={4}>
<Td colSpan={5}>
<Bullseye>
<EmptyState variant={EmptyStateVariant.sm}>
<EmptyStateHeader icon={<EmptyStateIcon icon={SearchIcon} />} />
@ -63,7 +63,7 @@ const EmptySearch = () => {
const NoResultsFound = () => {
return (
<Tr>
<Td colSpan={4}>
<Td colSpan={5}>
<Bullseye>
<EmptyState variant={EmptyStateVariant.sm}>
<EmptyStateHeader titleText="No results found" headingLevel="h4" />
@ -78,7 +78,7 @@ const NoResultsFound = () => {
const TooManyResults = () => {
return (
<Tr>
<Td colSpan={4}>
<Td colSpan={5}>
<Bullseye>
<EmptyState variant={EmptyStateVariant.sm}>
<EmptyStateHeader
@ -99,7 +99,7 @@ const TooManyResults = () => {
const TooManyResultsWithExactMatch = () => {
return (
<Tr>
<Td colSpan={4}>
<Td colSpan={5}>
<Bullseye>
<EmptyState variant={EmptyStateVariant.sm}>
<EmptyStateHeader