From 3829c6bbb59699f98f8e7030df2b04c615a12336 Mon Sep 17 00:00:00 2001 From: prudho Date: Wed, 17 Oct 2018 14:18:06 +0200 Subject: [PATCH] fix(icon): bad corner position when using some icons in group --- src/definitions/elements/icon.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/definitions/elements/icon.less b/src/definitions/elements/icon.less index 48a3e0bcb2..4fc0ea918f 100755 --- a/src/definitions/elements/icon.less +++ b/src/definitions/elements/icon.less @@ -532,25 +532,25 @@ i.icons .corner.icon { font-size: @cornerIconSize; text-shadow: @cornerIconShadow; } -i.icons .top.right.corner.icon { +i.icons .icon.corner[class*="top right"] { top: 0; left: auto; right: 0; bottom: auto; } -i.icons .top.left.corner.icon { +i.icons .icon.corner[class*="top left"] { top: 0; left: 0; right: auto; bottom: auto; } -i.icons .bottom.left.corner.icon { +i.icons .icon.corner[class*="bottom left"] { top: auto; left: 0; right: auto; bottom: 0; } -i.icons .bottom.right.corner.icon { +i.icons .icon.corner[class*="bottom right"] { top: auto; left: auto; right: 0;