Skip to content
This repository was archived by the owner on Apr 15, 2019. It is now read-only.

Commit a2e15b1

Browse files
Magdalena Grigorovajoneff
authored andcommitted
fix(buttonGroup): fix border radius after reverting rendering changes telerik/kendo#7846
1 parent 907563e commit a2e15b1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scss/button/_layout.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@
149149
}
150150

151151
.k-group-start,
152-
.k-item:first-child .k-button {
152+
.k-button:first-child {
153153
@include border-left-radius();
154154
}
155155
.k-group-end,
156-
.k-item:last-child .k-button {
156+
.k-button:last-child {
157157
@include border-right-radius();
158158
}
159159
.k-group-start.k-group-end,
160-
.k-item:first-child:last-child .k-button {
160+
.k-button:first-child:last-child {
161161
@include border-radius();
162162
}
163163

@@ -177,7 +177,7 @@
177177
.k-button-group-stretched {
178178
display: flex;
179179

180-
.k-item > .k-button {
180+
.k-button {
181181
display: inline-block;
182182
flex: 1 1 0;
183183
overflow: hidden;
@@ -315,25 +315,25 @@
315315
// Button group
316316
.k-button-group {
317317

318-
.k-item ~ .k-item {
318+
.k-button ~ .k-button {
319319
margin-right: -$button-border-width;
320320
margin-left: 0;
321321
}
322322

323-
.k-item .k-button {
323+
.k-button {
324324
@include border-radius( 0 );
325325
}
326326

327327
.k-group-start,
328-
.k-item:first-child .k-button {
328+
.k-button:first-child {
329329
@include border-right-radius();
330330
}
331331
.k-group-end,
332-
.k-item:last-child .k-button {
332+
.k-button:last-child {
333333
@include border-left-radius();
334334
}
335335
.k-group-start.k-group-end,
336-
.k-item:first-child:last-child .k-button {
336+
.k-button:first-child:last-child {
337337
@include border-radius();
338338
}
339339

0 commit comments

Comments
 (0)