mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-18 14:27:51 +00:00
fix: Ajustando visualização da página de leitura de história
This commit is contained in:
parent
4790d9788b
commit
e81dc5bedf
@ -895,7 +895,7 @@ export function StoryPage() {
|
|||||||
<button
|
<button
|
||||||
onClick={() => setCurrentPage(prev => prev - 1)}
|
onClick={() => setCurrentPage(prev => prev - 1)}
|
||||||
disabled={currentPage === 0}
|
disabled={currentPage === 0}
|
||||||
className="flex items-center gap-2 px-4 py-2 text-gray-600 hover:text-gray-900 disabled:opacity-50 disabled:cursor-not-allowed"
|
className="flex items-center gap-2 px-4 py-2 text-purple-600 border border-purple-600 rounded-md hover:bg-purple-50 disabled:opacity-50 disabled:cursor-not-allowed"
|
||||||
>
|
>
|
||||||
<ArrowLeft className="h-5 w-5" />
|
<ArrowLeft className="h-5 w-5" />
|
||||||
Página Anterior
|
Página Anterior
|
||||||
@ -908,7 +908,7 @@ export function StoryPage() {
|
|||||||
<button
|
<button
|
||||||
onClick={() => setCurrentPage(prev => prev + 1)}
|
onClick={() => setCurrentPage(prev => prev + 1)}
|
||||||
disabled={currentPage === (story?.content?.pages?.length ?? 0) - 1}
|
disabled={currentPage === (story?.content?.pages?.length ?? 0) - 1}
|
||||||
className="flex items-center gap-2 px-4 py-2 text-gray-600 hover:text-gray-900 disabled:opacity-50 disabled:cursor-not-allowed"
|
className="flex items-center gap-2 px-4 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 disabled:opacity-50 disabled:cursor-not-allowed"
|
||||||
>
|
>
|
||||||
Próxima Página
|
Próxima Página
|
||||||
<ArrowRight className="h-5 w-5" />
|
<ArrowRight className="h-5 w-5" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user