mirror of https://github.com/zulip/zulip.git
emoji_popover: Remove popover-content div.
`popover-content` class had no effect on emoji popover since it was resetting `padding: 0` and background color was already applied by tippy theme. In short, removing `popover-content` had no visual changes.
This commit is contained in:
parent
5cd2b0ed86
commit
ce656da8d7
|
@ -146,10 +146,6 @@
|
|||
height: 370px;
|
||||
user-select: none;
|
||||
|
||||
.popover-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
&.bottom .arrow {
|
||||
border-bottom-color: hsl(0deg 0% 93%);
|
||||
}
|
||||
|
|
|
@ -1,21 +1,19 @@
|
|||
<div class="emoji-picker-popover">
|
||||
<div class="popover-content">
|
||||
<div class="emoji-popover">
|
||||
<div class="emoji-popover-top">
|
||||
<input class="emoji-popover-filter filter_text_input" type="text" autofocus placeholder="{{t 'Search' }}" />
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="emoji-popover-category-tabs">
|
||||
{{#each emoji_categories}}
|
||||
<span class="emoji-popover-tab-item {{#if @first}} active {{/if}}" data-tab-name='{{name}}' title='{{name}}'><i class="fa {{icon}}"></i></span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="emoji-popover-emoji-map" data-simplebar data-simplebar-auto-hide="false" data-message-id="{{message_id}}">
|
||||
</div>
|
||||
<div class="emoji-search-results-container" data-simplebar data-simplebar-auto-hide="false" data-message-id="{{message_id}}">
|
||||
<div class="emoji-popover-results-heading">{{t "Search results" }}</div>
|
||||
<div class="emoji-search-results"></div>
|
||||
</div>
|
||||
<div class="emoji-popover">
|
||||
<div class="emoji-popover-top">
|
||||
<input class="emoji-popover-filter filter_text_input" type="text" autofocus placeholder="{{t 'Search' }}" />
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div class="emoji-popover-category-tabs">
|
||||
{{#each emoji_categories}}
|
||||
<span class="emoji-popover-tab-item {{#if @first}} active {{/if}}" data-tab-name='{{name}}' title='{{name}}'><i class="fa {{icon}}"></i></span>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="emoji-popover-emoji-map" data-simplebar data-simplebar-auto-hide="false" data-message-id="{{message_id}}">
|
||||
</div>
|
||||
<div class="emoji-search-results-container" data-simplebar data-simplebar-auto-hide="false" data-message-id="{{message_id}}">
|
||||
<div class="emoji-popover-results-heading">{{t "Search results" }}</div>
|
||||
<div class="emoji-search-results"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="emoji-showcase-container"></div>
|
||||
|
|
Loading…
Reference in New Issue