Browse Source

Fix text align for dropdown item in centered container

pull/2169/head
jlukic 10 years ago
parent
commit
fdf3354c8d
3 changed files with 3 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js
  2. 1
      src/definitions/modules/dropdown.less
  3. 1
      src/themes/default/modules/dropdown.variables

2
src/definitions/modules/dropdown.js

@ -1427,7 +1427,7 @@ $.fn.dropdown = function(parameters) {
placeholderText: function(text) {
module.debug('Restoring placeholder text');
text = text || $module.data(metadata.placeholderText);
module.set.text(placeholderText);
module.set.text(text);
$text.addClass(className.placeholder);
},
tabbable: function() {

1
src/definitions/modules/dropdown.less

@ -115,6 +115,7 @@
display: block;
border: @itemBorder;
height: @itemHeight;
text-align: @itemTextAlign;
border-top: @itemDivider;
line-height: @itemLineHeight;

1
src/themes/default/modules/dropdown.variables

@ -48,6 +48,7 @@
/* Menu Item */
@itemFontSize: @relativeMedium;
@itemTextAlign: left;
@itemBorder: none;
@itemHeight: auto;
@itemDivider: none;

Loading…
Cancel
Save