1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(apps): better align sub tables [r8s-255] (#617)

This commit is contained in:
Ali 2025-04-11 08:39:39 +12:00 committed by GitHub
parent 823f2a7991
commit d68fe42918
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ export function PublishedPorts({ item }: { item: Application }) {
} }
return ( return (
<div className="published-url-container pl-10 flex"> <div className="published-url-container flex">
<div className="text-muted mr-12">Published URL(s)</div> <div className="text-muted mr-12">Published URL(s)</div>
<div className="flex flex-col"> <div className="flex flex-col">
{urlsWithTypes.map(({ url, type }) => ( {urlsWithTypes.map(({ url, type }) => (

View file

@ -19,11 +19,11 @@ export function SubRow({
const { const {
user: { Username: username }, user: { Username: username },
} = useCurrentUser(); } = useCurrentUser();
const colSpan = hideStacks ? 8 : 9; const colSpan = hideStacks ? 7 : 8;
return ( return (
<tr className={clsx({ 'secondary-body': !item.KubernetesApplications })}> <tr className={clsx({ 'secondary-body': !item.KubernetesApplications })}>
<td /> <td colSpan={2} />
<td colSpan={colSpan} className="datatable-padding-vertical"> <td colSpan={colSpan} className="datatable-padding-vertical">
{item.KubernetesApplications ? ( {item.KubernetesApplications ? (
<InnerTable <InnerTable