Skip to content

Commit

Permalink
fix: update drag hint font-size and line-height to match grouping ind…
Browse files Browse the repository at this point in the history
…icator's
  • Loading branch information
inikolova authored and joneff committed Feb 15, 2021
1 parent 7bad1e2 commit 3e7b253
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion packages/default/scss/grid/_layout.scss
Expand Up @@ -510,7 +510,14 @@
}

.k-drag-clue {
line-height: $line-height-lg;
font-size: $grid-font-size;
line-height: $grid-line-height;

.k-icon-with-modifier {
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
}
}

.k-grouping-dropclue {
Expand Down
4 changes: 4 additions & 0 deletions packages/material/scss/grid/_layout.scss
Expand Up @@ -118,6 +118,10 @@ $grid-group-drag-clue-opacity: .9 !default;
}
}

.k-drag-clue {
line-height: $button-line-height;
}

.k-resize-handle:hover .k-resize-handle-inner {
width: 1px;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion tests/visual/grid-grouping.html
Expand Up @@ -257,7 +257,7 @@
<span>jquery grid drag clue</span>

<section class="section">
<div class="k-header k-drag-clue"><span class="k-icon k-drag-status k-i-plus"></span>Drag clue</div>
<div class="k-header k-drag-clue"><span class="k-icon k-drag-status k-i-cancel k-icon-with-modifier"></span>Drag clue</div>
</section>

<section class="section">
Expand Down

0 comments on commit 3e7b253

Please sign in to comment.