Skip to content

Commit a5f5d04

Browse files
guguclaude
andcommitted
fix(frontend): show copy button on left side for right-aligned widgets
Position the copy button at left: 0 within the field-display container so it appears in the empty space left of the right-aligned value, staying within the overflow bounds of the cell. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6273d30 commit a5f5d04

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

frontend/src/app/components/ui-components/table-display-fields/id/id.component.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@
1212
font-weight: 500;
1313
flex-grow: 1;
1414
}
15+
16+
.field-copy-button {
17+
right: auto;
18+
left: 0;
19+
}

frontend/src/app/components/ui-components/table-display-fields/money/money.component.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
.field-display {
66
justify-content: flex-end;
77
}
8+
9+
.field-copy-button {
10+
right: auto;
11+
left: 0;
12+
}

frontend/src/app/components/ui-components/table-display-fields/number/number.component.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
justify-content: flex-end;
77
}
88

9+
.field-copy-button {
10+
right: auto;
11+
left: 0;
12+
}
13+
914
.out-of-threshold {
1015
display: flex;
1116
align-items: center;

0 commit comments

Comments
 (0)