aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_picker/emoji_picker.scss
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-11-08 22:01:42 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-11-08 22:01:42 +0000
commit2b68134ab01266913b89b79ea6c3e9575278ecb2 (patch)
tree69a410f34429c52c7cdd335e1bdfeba795ba8f6c /src/components/emoji_picker/emoji_picker.scss
parent5679dcdd18750a1fc9ac1d4eeea3fd3b642a2151 (diff)
parenta3501d58d8703379d5f60e1bb53dfb0dbb1022b2 (diff)
Merge branch 'emoji-optimizations' into 'develop'
Emoji fixes, optimizations and improvements Closes #690, #686, #682, #674, and #678 See merge request pleroma/pleroma-fe!969
Diffstat (limited to 'src/components/emoji_picker/emoji_picker.scss')
-rw-r--r--src/components/emoji_picker/emoji_picker.scss28
1 files changed, 21 insertions, 7 deletions
diff --git a/src/components/emoji_picker/emoji_picker.scss b/src/components/emoji_picker/emoji_picker.scss
index d99539b0..6608f393 100644
--- a/src/components/emoji_picker/emoji_picker.scss
+++ b/src/components/emoji_picker/emoji_picker.scss
@@ -6,15 +6,25 @@
position: absolute;
right: 0;
left: 0;
- height: 320px;
margin: 0 !important;
z-index: 1;
- .keep-open {
+ .keep-open,
+ .too-many-emoji {
padding: 7px;
line-height: normal;
}
+ .too-many-emoji {
+ display: flex;
+ flex-direction: column;
+ }
+
+ .keep-open-label {
+ padding: 0 7px;
+ display: flex;
+ }
+
.heading {
display: flex;
height: 32px;
@@ -24,7 +34,7 @@
.content {
display: flex;
flex-direction: column;
- flex: 1 1 0;
+ flex: 1 1 auto;
min-height: 0px;
}
@@ -32,12 +42,16 @@
flex-grow: 1;
}
+ .emoji-groups {
+ min-height: 200px;
+ }
+
.additional-tabs {
border-left: 1px solid;
border-left-color: $fallback--icon;
border-left-color: var(--icon, $fallback--icon);
padding-left: 7px;
- flex: 0 0 0;
+ flex: 0 0 auto;
}
.additional-tabs,
@@ -68,7 +82,7 @@
}
.sticker-picker {
- flex: 1 1 0
+ flex: 1 1 auto
}
.stickers,
@@ -76,7 +90,7 @@
&-content {
display: flex;
flex-direction: column;
- flex: 1 1 0;
+ flex: 1 1 auto;
min-height: 0;
&.hidden {
@@ -90,7 +104,7 @@
.emoji {
&-search {
padding: 5px;
- flex: 0 0 0;
+ flex: 0 0 auto;
input {
width: 100%;