Skip to content

Commit

Permalink
fix: fix large padding on top of test card when there is no describe
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Nov 23, 2024
1 parent 3be381f commit b478321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/static/new-ui/components/SuiteTitle/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
}

.content {
margin-top: 8px;
display: flex;
flex-direction: column;
row-gap: 8px;
Expand Down
4 changes: 2 additions & 2 deletions lib/static/new-ui/components/SuiteTitle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function SuiteTitle(props: SuiteTitlePropsInternal): ReactNode {

return <div className={classNames(styles.container, props.className)}>
<div className={styles.content}>
<div className={classNames(styles.breadcrumbs)}>
{suitePath.length > 0 && <div className={classNames(styles.breadcrumbs)}>
{suitePath.map((item, index) => (
<div key={index} className={styles.breadcrumbsItem}>
{item}
Expand All @@ -35,7 +35,7 @@ export function SuiteTitle(props: SuiteTitlePropsInternal): ReactNode {
</div>}
</div>
))}
</div>
</div>}
<div className={styles.titleContainer}>
<h2 className={classNames('text-display-1')}>
{suiteName ?? 'Unknown Suite'}
Expand Down

0 comments on commit b478321

Please sign in to comment.