fix(magic8ball): lower text further and widen triangle for long answers
This commit is contained in:
@@ -58,7 +58,7 @@ const copiedLabel = isRu ? "Скопировано" : "Copied";
|
||||
<div
|
||||
id="m8b-triangle"
|
||||
class="w-28 h-28 sm:w-32 sm:h-32 flex items-center justify-center transition-all duration-300"
|
||||
style="clip-path: polygon(50% 12%, 94% 92%, 6% 92%);"
|
||||
style="clip-path: polygon(50% 16%, 95% 92%, 5% 92%);"
|
||||
>
|
||||
<!-- Inner blue surface -->
|
||||
<div
|
||||
@@ -77,7 +77,7 @@ const copiedLabel = isRu ? "Скопировано" : "Copied";
|
||||
<!-- Answer Text -->
|
||||
<span
|
||||
id="m8b-answer"
|
||||
class="relative z-10 text-center text-[8px] sm:text-[10px] font-bold text-white leading-[1.15] px-2 sm:px-3 mt-5 max-w-[6rem] sm:max-w-[7rem] transition-opacity duration-200"
|
||||
class="relative z-10 text-center text-[8px] sm:text-[10px] font-bold text-white leading-[1.15] px-1.5 sm:px-2 mt-6 sm:mt-7 max-w-[5rem] sm:max-w-[6rem] transition-opacity duration-200"
|
||||
style="text-shadow: 0 1px 2px rgba(0,0,0,0.5); opacity: 1;"
|
||||
>
|
||||
{clickToAsk}
|
||||
|
||||
Reference in New Issue
Block a user