Skip to content

Commit 9858369

Browse files
authored
fix(EntityStatus): wrapper layout without clipboard (#1538)
1 parent 5727563 commit 9858369

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/EntityStatus/EntityStatus.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131

3232
overflow: hidden;
3333

34-
padding-right: var(--button-width);
34+
&_with-button {
35+
padding-right: var(--button-width);
36+
}
3537
}
3638

3739
&__controls-wrapper {

src/components/EntityStatus/EntityStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function EntityStatus({
9090
</span>
9191
)}
9292
{(path || name) && (
93-
<div className={b('wrapper')}>
93+
<div className={b('wrapper', {'with-button': hasClipboardButton})}>
9494
<span className={b('link', {'with-left-trim': withLeftTrim})}>
9595
{renderLink()}
9696
</span>

0 commit comments

Comments
 (0)