+6
-2
@@ -42,13 +42,17 @@
|
||||
}
|
||||
|
||||
.actionSheetMenuItem {
|
||||
padding: .8em 1.6em;
|
||||
padding: 0 1.6em;
|
||||
margin: 0;
|
||||
text-transform: none;
|
||||
text-align: inherit;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-weight: inherit;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.actionSheetItemText {
|
||||
padding: .8em 0;
|
||||
}
|
||||
|
||||
.layout-tv .actionSheetMenuItem {
|
||||
|
||||
+2
-2
@@ -160,7 +160,7 @@
|
||||
var option = options.items[i];
|
||||
|
||||
var autoFocus = option.selected ? ' autoFocus' : '';
|
||||
html += '<' + itemTagName + autoFocus + ' class="actionSheetMenuItem" data-id="' + option.id + '" style="display:block;">';
|
||||
html += '<' + itemTagName + autoFocus + ' class="actionSheetMenuItem" data-id="' + option.id + '">';
|
||||
|
||||
if (option.ironIcon) {
|
||||
html += '<iron-icon class="actionSheetItemIcon" icon="' + option.ironIcon + '"></iron-icon>';
|
||||
@@ -168,7 +168,7 @@
|
||||
else if (renderIcon && !center) {
|
||||
html += '<iron-icon class="actionSheetItemIcon"></iron-icon>';
|
||||
}
|
||||
html += '<span>' + option.name + '</span>';
|
||||
html += '<div class="actionSheetItemText">' + option.name + '</div>';
|
||||
html += '</' + itemTagName + '>';
|
||||
}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
};
|
||||
|
||||
if (stream.Index == currentIndex) {
|
||||
opt.ironIcon = "check";
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
return opt;
|
||||
@@ -166,7 +166,7 @@
|
||||
};
|
||||
|
||||
if (o.selected) {
|
||||
opt.ironIcon = "check";
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
return opt;
|
||||
@@ -234,7 +234,7 @@
|
||||
};
|
||||
|
||||
if (stream.Index == currentIndex) {
|
||||
opt.ironIcon = "check";
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
return opt;
|
||||
|
||||
Reference in New Issue
Block a user