Browse Source

Make rating flex

pull/2308/merge
jlukic 9 years ago
parent
commit
89969f8cf3
2 changed files with 3 additions and 3 deletions
  1. 3
      src/definitions/modules/rating.less
  2. 3
      src/themes/default/modules/rating.variables

3
src/definitions/modules/rating.less

@ -24,8 +24,8 @@
*******************************/ *******************************/
.ui.rating { .ui.rating {
display: inline-flex;
white-space: @whiteSpace; white-space: @whiteSpace;
display: @display;
vertical-align: @verticalAlign; vertical-align: @verticalAlign;
} }
.ui.rating:last-child { .ui.rating:last-child {
@ -48,6 +48,7 @@
text-align: center; text-align: center;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
flex: 1 0 auto;
cursor: @iconCursor; cursor: @iconCursor;
width: @iconWidth; width: @iconWidth;
height: @iconHeight; height: @iconHeight;

3
src/themes/default/modules/rating.variables

@ -2,8 +2,7 @@
Rating Rating
*******************************/ *******************************/
@display: inline-block;
@margin: 0em 0.75rem;
@margin: 0em @relativeMini;
@whiteSpace: nowrap; @whiteSpace: nowrap;
@verticalAlign: middle; @verticalAlign: middle;

Loading…
Cancel
Save