Skip to content

Commit 0520f25

Browse files
committed
feat: add drag handle styles
1 parent 565723d commit 0520f25

File tree

1 file changed

+18
-0
lines changed
  • packages/modules/data-widgets/src/themesource/datawidgets/web

1 file changed

+18
-0
lines changed

packages/modules/data-widgets/src/themesource/datawidgets/web/_datagrid.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,24 @@ $root: ".widget-datagrid";
131131
align-self: center;
132132
}
133133

134+
/* Drag handle */
135+
.drag-handle {
136+
cursor: grab;
137+
pointer-events: auto;
138+
position: relative;
139+
width: 14px;
140+
padding: 0;
141+
flex-grow: 0;
142+
display: flex;
143+
justify-content: center;
144+
z-index: 1;
145+
146+
&:hover {
147+
background-color: var(--brand-primary-50, $brand-light);
148+
color: var(--brand-primary, $brand-primary);
149+
}
150+
}
151+
134152
&:focus:not(:focus-visible) {
135153
outline: none;
136154
}

0 commit comments

Comments
 (0)