Skip to content

Commit

Permalink
fix: remove excessive margins (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kabir-Ivan authored Jul 19, 2024
1 parent 184966f commit a195efc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/static/components/section/title/browser.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ const ShareButtonComponent = ({status, ...rest}) => {
title={status === 'success' ? 'Copied' : 'Copy test link'}
>
<Button
size='s'
view='flat'
extraProps={{
'aria-label': 'Copy test link'
}}
{...rest}
>
<Button.Icon>
<ArrowShapeTurnUpRight/>
<ArrowShapeTurnUpRight width={16} height={16}/>
</Button.Icon>
</Button>
</ActionTooltip>
Expand Down
2 changes: 2 additions & 0 deletions lib/static/components/section/title/simple.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const SectionTitle = ({name, suiteId, handler, gui, checkStatus, suiteTests, act

const drawCopyButton = () => (
<ClipboardButton
size='s'
onClick={onCopySuiteName}
title="copy to clipboard"
text={suiteId}>
Expand All @@ -44,6 +45,7 @@ const SectionTitle = ({name, suiteId, handler, gui, checkStatus, suiteTests, act

const drawRetryButton = () => (
runningThis ? <Spin size='xs'/> : <Button
size='s'
view='flat'
title="retry suite"
onClick={onSuiteRetry}
Expand Down
1 change: 0 additions & 1 deletion lib/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ main.container {
font-weight: bold;
cursor: pointer;
color: var(--text-color);
margin-bottom: 5px;
display: flex;
align-items: center;
gap: 2px;
Expand Down

0 comments on commit a195efc

Please sign in to comment.