feat: make sticker preview mobile friendly

This commit is contained in:
Kentai Radiquum 2024-12-29 02:52:41 +05:00
parent e50589906c
commit acfae9f06f
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
2 changed files with 70 additions and 18 deletions

View file

@ -621,8 +621,9 @@ video {
margin-right: auto;
}
.block {
display: block;
.mx-4 {
margin-left: 1rem;
margin-right: 1rem;
}
.flex {
@ -641,6 +642,10 @@ video {
height: 4rem;
}
.h-screen {
height: 100vh;
}
.min-h-screen {
min-height: 100vh;
}
@ -665,6 +670,30 @@ video {
max-width: 768px;
}
.max-w-\[378px\] {
max-width: 378px;
}
.max-w-\[512px\] {
max-width: 512px;
}
.max-w-\[600px\] {
max-width: 600px;
}
.max-w-\[256px\] {
max-width: 256px;
}
.max-w-full {
max-width: 100%;
}
.max-w-\[90\%\] {
max-width: 90%;
}
.flex-col {
flex-direction: column;
}
@ -718,6 +747,11 @@ video {
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-red-600 {
--tw-bg-opacity: 1;
background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-stone-800 {
--tw-bg-opacity: 1;
background-color: rgb(41 37 36 / var(--tw-bg-opacity, 1));
@ -728,11 +762,6 @@ video {
background-color: rgb(28 25 23 / var(--tw-bg-opacity, 1));
}
.bg-red-600 {
--tw-bg-opacity: 1;
background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-gradient-to-b {
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
@ -766,6 +795,11 @@ video {
padding-bottom: 0.5rem;
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
@ -839,4 +873,22 @@ video {
--tw-scale-x: 1.1;
--tw-scale-y: 1.1;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@media (min-width: 768px) {
.md\:top-\[25\%\] {
top: 25%;
}
.md\:max-w-\[768px\] {
max-width: 768px;
}
.md\:flex-row {
flex-direction: row;
}
.md\:whitespace-pre {
white-space: pre;
}
}