Move styles to class
This commit is contained in:
parent
29b7be4a96
commit
29298cb823
2 changed files with 9 additions and 1 deletions
|
@ -223,7 +223,7 @@ function renderSearchResults(context, results) {
|
|||
if (hasAnyFlags) {
|
||||
html += '<div class="secondary listItemBodyText">';
|
||||
|
||||
const spanOpen = '<span class="inline-flex align-items-center justify-content-center" style="background:#3388cc;color:#fff;padding: .3em 1em;border-radius:1000em;margin-right:0.25em;">';
|
||||
const spanOpen = '<span class="inline-flex align-items-center justify-content-center subtitleFeaturePillow">';
|
||||
|
||||
if (result.IsHashMatch) {
|
||||
html += spanOpen + globalize.translate('PerfectMatch') + '</span>';
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
.originalSubtitleFileLabel {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.subtitleFeaturePillow {
|
||||
background: #3388cc;
|
||||
color: #fff;
|
||||
padding: .3em 1em;
|
||||
border-radius: 1000em;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue