better picker layout
This commit is contained in:
parent
1f7fa777b2
commit
761ca72136
|
@ -49,6 +49,7 @@
|
||||||
|
|
||||||
.heading {
|
.heading {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
padding: 0.7em 0.5em 0;
|
padding: 0.7em 0.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +130,7 @@
|
||||||
|
|
||||||
.emoji {
|
.emoji {
|
||||||
&-search {
|
&-search {
|
||||||
padding: 0.3em;
|
padding-bottom: 0.5em;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
@ -196,9 +197,9 @@
|
||||||
&-group {
|
&-group {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(var(--__amount), 1fr);
|
grid-template-columns: repeat(var(--__amount), 1fr);
|
||||||
justify-items: center;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: left;
|
justify-items: center;
|
||||||
|
justify-content: center;
|
||||||
grid-template-rows: repeat(1, auto);
|
grid-template-rows: repeat(1, auto);
|
||||||
|
|
||||||
&.first-row {
|
&.first-row {
|
||||||
|
|
|
@ -11,6 +11,16 @@
|
||||||
<div
|
<div
|
||||||
class="heading"
|
class="heading"
|
||||||
>
|
>
|
||||||
|
<div class="emoji-search">
|
||||||
|
<input
|
||||||
|
ref="search"
|
||||||
|
v-model="keyword"
|
||||||
|
type="text"
|
||||||
|
class="input form-control"
|
||||||
|
:placeholder="$t('emoji.search_emoji')"
|
||||||
|
@input="$event.target.composing = false"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
<!--
|
<!--
|
||||||
Body scroll lock needs to be on every scrollable element on safari iOS.
|
Body scroll lock needs to be on every scrollable element on safari iOS.
|
||||||
Here we tell it to enable scrolling for this element.
|
Here we tell it to enable scrolling for this element.
|
||||||
|
@ -75,16 +85,6 @@
|
||||||
class="emoji-content"
|
class="emoji-content"
|
||||||
:class="{hidden: showingStickers}"
|
:class="{hidden: showingStickers}"
|
||||||
>
|
>
|
||||||
<div class="emoji-search">
|
|
||||||
<input
|
|
||||||
ref="search"
|
|
||||||
v-model="keyword"
|
|
||||||
type="text"
|
|
||||||
class="input form-control"
|
|
||||||
:placeholder="$t('emoji.search_emoji')"
|
|
||||||
@input="$event.target.composing = false"
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<!-- Enables scrolling for this element on safari iOS. See comments for header. -->
|
<!-- Enables scrolling for this element on safari iOS. See comments for header. -->
|
||||||
<DynamicScroller
|
<DynamicScroller
|
||||||
ref="emoji-groups"
|
ref="emoji-groups"
|
||||||
|
|
Loading…
Reference in a new issue