@@ -457,9 +457,9 @@ const handleAskQuestion = () => {
457457 <main class =" mx-auto max-w-5xl px-3.5 py-4 sm:px-6 sm:py-8 lg:px-8" >
458458 <!-- Header Row -->
459459 <div
460- class =" mb-3.5 flex items-center justify-between gap-3 sm:mb-6 sm:border-b sm:border-slate-100 sm:pb-5 dark:sm:border-gray-800"
460+ class =" mb-3.5 flex items-start justify-between gap-3 sm:mb-6 sm:items-center sm:border-b sm:border-slate-100 sm:pb-5 dark:sm:border-gray-800"
461461 >
462- <div >
462+ <div class = " min-w-0 flex-1 " >
463463 <h1
464464 class =" text-xl font-extrabold tracking-tight text-slate-900 sm:text-3xl dark:text-gray-100"
465465 >
@@ -473,7 +473,7 @@ const handleAskQuestion = () => {
473473 </p >
474474 </div >
475475
476- <div >
476+ <div class = " shrink-0 " >
477477 <button
478478 type =" button"
479479 @click =" handleAskQuestion"
@@ -486,7 +486,7 @@ const handleAskQuestion = () => {
486486 'Question posting is temporarily paused'
487487 : 'Ask Question'
488488 "
489- class =" inline-flex items-center justify-center gap-1.5 rounded-xl px-3 py-2 text-xs font-semibold shadow-xs transition sm:gap-2 sm:px-4 sm:py-2.5 sm:text-sm"
489+ class =" inline-flex shrink-0 items-center justify-center gap-1.5 rounded-xl px-3 py-2 text-xs font-semibold whitespace-nowrap shadow-xs transition sm:gap-2 sm:px-4 sm:py-2.5 sm:text-sm"
490490 :class =" [
491491 props.postingEnabled === false || isUserBanned
492492 ? 'cursor-not-allowed bg-slate-200 text-slate-500 dark:bg-gray-800 dark:text-gray-500'
@@ -495,10 +495,10 @@ const handleAskQuestion = () => {
495495 >
496496 <Lock
497497 v-if =" props .postingEnabled === false || isUserBanned "
498- class="h-3.5 w-3.5 sm:h-4 sm:w-4 "
498+ class="h-3.5 w-3.5 shrink-0 sm:h-4 sm:w-4 "
499499 />
500- <Plus v-else class="h-3.5 w-3.5 sm:h-4 sm:w-4 " />
501- <span >{{
500+ <Plus v-else class="h-3.5 w-3.5 shrink-0 sm:h-4 sm:w-4 " />
501+ <span class = " whitespace-nowrap " >{{
502502 isUserBanned
503503 ? 'Account Suspended'
504504 : props.postingEnabled === false
0 commit comments