2023-11-06 01:43:38 +04:00

66 lines
1.4 KiB
SCSS

@use "../../../styles/mixins";
.EmojiPicker {
--emoji-size: 2.25rem;
--color-primary: var(--color-text);
height: 100%;
&-main {
height: calc(100% - 3rem);
overflow-y: auto;
padding: 0.5rem 0.75rem;
@include mixins.adapt-padding-to-scrollbar(0.75rem);
@media (max-width: 600px) {
padding: 0.5rem 0.25rem;
@include mixins.adapt-padding-to-scrollbar(0.25rem);
}
}
&-header {
height: 3rem;
display: flex;
align-items: center;
justify-content: space-around;
&.with-top-border {
/* stylelint-disable-next-line plugin/whole-pixel */
box-shadow: inset 0 -0.5px 0 0 var(--color-borders-alternate);
}
@media (max-width: 600px) {
overflow-x: auto;
overflow-y: hidden;
justify-content: space-between;
white-space: nowrap;
padding: 0.4375rem 0;
scrollbar-width: none;
scrollbar-color: rgba(0, 0, 0, 0);
&::-webkit-scrollbar {
height: 0;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0);
}
.symbol-set-button {
display: inline-flex;
vertical-align: middle;
}
// Spacer to counter last button margin not being accounted in scroll width
&::after {
content: "";
display: block;
flex-shrink: 0;
width: 1px;
height: 1rem;
}
}
}
}