Skip to content

Commit

Permalink
Add small picker example
Browse files Browse the repository at this point in the history
  • Loading branch information
serebrov committed May 2, 2021
1 parent 0ebc0c8 commit a1a708a
Show file tree
Hide file tree
Showing 3 changed files with 4,377 additions and 4 deletions.
4,310 changes: 4,309 additions & 1 deletion dist/emoji-mart.js

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions docs/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,18 @@
<div class="row">
<Picker :data="indexInclude" />
</div>

<div class="row"></div>
<h2>Small picker example</h2>
<div class="row row-small-picker">
<Picker
:data="index"
:native="native"
:set="activeSet"
:emojiSize="12"
:perLine="5"
/>
</div>
</div>
</template>

Expand Down Expand Up @@ -386,4 +398,24 @@ h2 {
right: 30px;
cursor: pointer;
}
.row-small-picker >>> .emoji-mart-anchors svg {
width: 9px;
height: 9px;
}
.row-small-picker >>> .emoji-mart-title-label {
font-size: 9px;
}
.row-small-picker >>> .emoji-mart-preview-data {
left: 40px;
font-size: 9px;
}
.row-small-picker >>> .emoji-mart-preview-name {
font-size: 9px;
}
.row-small-picker >>> .emoji-mart-preview-emoji .emoji-type-native {
font-size: 12px;
width: 12px;
height: 12px;
}
</style>
Loading

0 comments on commit a1a708a

Please sign in to comment.