Browse Source

Fix tag transition

pull/2979/head
Jack Lukic 9 years ago
parent
commit
a266d55563
2 changed files with 2 additions and 1 deletions
  1. 1
      src/definitions/elements/label.less
  2. 2
      src/themes/default/elements/label.variables

1
src/definitions/elements/label.less

@ -196,6 +196,7 @@ a.ui.label {
padding-right: @tagHorizontalPadding;
border-radius: 0em @borderRadius @borderRadius 0em;
transition: @tagTransition;
}
.ui.tag.labels .label:before,
.ui.tag.label:before {

2
src/themes/default/elements/label.variables

@ -123,7 +123,7 @@
@tagTriangleTopOffset: 50%;
@tagTriangleSize: 1.56em;
@tagTriangleBackgroundImage: none;
@tagTransition: background @labelTransitionDuration @labelTransitionEasing;
@tagTransition: none; /* Avoids error with background: inherit; on animation */
/* Ribbon */
@ribbonTriangleSize: 1.2em;

Loading…
Cancel
Save