mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #4946 from jjaffeux/emoji-picker-fixes
Emoji picker fixes
This commit is contained in:
commit
e12601b850
@ -168,9 +168,9 @@ function render(page, offset, options) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const model = {
|
const model = {
|
||||||
toolbarItems: toolbarItems,
|
toolbarItems,
|
||||||
skinTones: skinTones,
|
skinTones,
|
||||||
rows: rows,
|
rows,
|
||||||
prevDisabled: offset === 0,
|
prevDisabled: offset === 0,
|
||||||
nextDisabled: (max + 1) > icons.length,
|
nextDisabled: (max + 1) > icons.length,
|
||||||
modalClass: options.modalClass
|
modalClass: options.modalClass
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
<div class='info'></div>
|
<div class='info'></div>
|
||||||
<div class='tones'>
|
<div class='tones'>
|
||||||
{{#each skinTones as |skinTone|}}
|
{{#each skinTones as |skinTone|}}
|
||||||
<button class='tones-button {{skinTone.className}}' data-skin-tone="{{skinTone.level}}">
|
<a href='#' class='tones-button {{skinTone.className}}' data-skin-tone="{{skinTone.level}}">
|
||||||
{{#if skinTone.selected}}{{fa-icon "check"}}{{/if}}
|
{{#if skinTone.selected}}{{fa-icon "check"}}{{/if}}
|
||||||
</button>
|
</a>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
<div class='nav'>
|
<div class='nav'>
|
||||||
|
@ -131,6 +131,7 @@ table.emoji-page td {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.emoji-modal .tones-button.default { background: #ffcc4d; }
|
.emoji-modal .tones-button.default { background: #ffcc4d; }
|
||||||
.emoji-modal .tones-button.light { background: #f7dece; }
|
.emoji-modal .tones-button.light { background: #f7dece; }
|
||||||
|
Loading…
Reference in New Issue
Block a user