Skip to content

Commit 342fb4c

Browse files
fix(EntityStatus): fix buttons bg in selected table rows
1 parent a242ed0 commit 342fb4c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/EntityStatus/EntityStatus.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
@use '../../styles/mixins.scss';
22

33
.entity-status {
4-
--button-width: 28px;
4+
--button-width: 24px;
5+
--entity-status-height: 20px;
6+
57
position: relative;
68

79
display: inline-flex;
@@ -38,6 +40,8 @@
3840

3941
overflow: hidden;
4042

43+
height: var(--entity-status-height);
44+
4145
&_with-clipboard-button {
4246
padding-right: var(--button-width);
4347
}
@@ -63,11 +67,9 @@
6367
gap: var(--g-spacing-1);
6468

6569
width: 0;
66-
height: 100%;
6770

6871
&_visible {
6972
width: min-content;
70-
padding: var(--g-spacing-1);
7173

7274
background-color: var(--g-color-base-background);
7375
}
@@ -76,7 +78,6 @@
7678
.ydb-paginated-table__row:hover &,
7779
.ydb-tree-view__item & {
7880
width: min-content;
79-
padding: var(--g-spacing-1);
8081

8182
background-color: var(--ydb-data-table-color-hover);
8283
}
@@ -99,7 +100,6 @@
99100
overflow: hidden;
100101

101102
width: 100%;
102-
margin-top: 5px;
103103

104104
white-space: nowrap;
105105
text-overflow: ellipsis;

0 commit comments

Comments
 (0)