Commit 32d7a49b authored by absturztaube's avatar absturztaube

use flex for stickers

parent 7e3a4fa8
...@@ -36,16 +36,20 @@ ...@@ -36,16 +36,20 @@
.sticker-picker { .sticker-picker {
width: 100%; width: 100%;
position: relative;
.contents { .contents {
min-height: 250px; min-height: 250px;
.sticker-picker-content { .sticker-picker-content {
display: flex;
flex-wrap: wrap;
padding: 0 4px;
.sticker { .sticker {
display: inline-block; display: flex;
width: 20%; flex: 1 1 auto;
height: 20%; margin: 4px;
width: 56px;
height: 56px;
img { img {
width: 100%; height: 100%;
&:hover { &:hover {
filter: drop-shadow(0 0 5px var(--link, $fallback--link)); filter: drop-shadow(0 0 5px var(--link, $fallback--link));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment