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:
Aman Agrawal 2023-10-09 15:35:09 +00:00 committed by Tim Abbott
parent 5cd2b0ed86
commit ce656da8d7
2 changed files with 15 additions and 21 deletions

View File

@ -146,10 +146,6 @@
height: 370px; height: 370px;
user-select: none; user-select: none;
.popover-content {
padding: 0;
}
&.bottom .arrow { &.bottom .arrow {
border-bottom-color: hsl(0deg 0% 93%); border-bottom-color: hsl(0deg 0% 93%);
} }

View File

@ -1,5 +1,4 @@
<div class="emoji-picker-popover"> <div class="emoji-picker-popover">
<div class="popover-content">
<div class="emoji-popover"> <div class="emoji-popover">
<div class="emoji-popover-top"> <div class="emoji-popover-top">
<input class="emoji-popover-filter filter_text_input" type="text" autofocus placeholder="{{t 'Search' }}" /> <input class="emoji-popover-filter filter_text_input" type="text" autofocus placeholder="{{t 'Search' }}" />
@ -17,6 +16,5 @@
<div class="emoji-search-results"></div> <div class="emoji-search-results"></div>
</div> </div>
</div> </div>
</div>
<div class="emoji-showcase-container"></div> <div class="emoji-showcase-container"></div>
</div> </div>