diff --git a/frontend/src/components/shared/RightRail.tsx b/frontend/src/components/shared/RightRail.tsx index 41ac3ae47..92f377076 100644 --- a/frontend/src/components/shared/RightRail.tsx +++ b/frontend/src/components/shared/RightRail.tsx @@ -230,7 +230,7 @@ export default function RightRail() { -
+
{}} @@ -343,7 +343,7 @@ export default function RightRail() {
-
+
{/* First Page Button */} @@ -152,7 +152,7 @@ export function PdfViewerToolbar({ radius="xl" onClick={handleFirstPage} disabled={dynamicPage === 1} - style={{ minWidth: 36 }} + style={{ minWidth: '2.5rem' }} title={t("viewer.firstPage", "First Page")} > @@ -167,7 +167,7 @@ export function PdfViewerToolbar({ radius="xl" onClick={handlePreviousPage} disabled={dynamicPage === 1} - style={{ minWidth: 36 }} + style={{ minWidth: '2.5rem' }} title={t("viewer.previousPage", "Previous Page")} > @@ -204,7 +204,7 @@ export function PdfViewerToolbar({ radius="xl" onClick={handleNextPage} disabled={dynamicPage === dynamicTotalPages} - style={{ minWidth: 36 }} + style={{ minWidth: '2.5rem' }} title={t("viewer.nextPage", "Next Page")} > @@ -219,7 +219,7 @@ export function PdfViewerToolbar({ radius="xl" onClick={handleLastPage} disabled={dynamicPage === dynamicTotalPages} - style={{ minWidth: 36 }} + style={{ minWidth: '2.5rem' }} title={t("viewer.lastPage", "Last Page")} > @@ -232,7 +232,7 @@ export function PdfViewerToolbar({ size="md" radius="xl" onClick={onDualPageToggle} - style={{ minWidth: 36 }} + style={{ minWidth: '2.5rem' }} title={dualPage ? t("viewer.singlePageView", "Single Page View") : t("viewer.dualPageView", "Dual Page View")} > {dualPage ? : } @@ -246,12 +246,12 @@ export function PdfViewerToolbar({ size="md" radius="xl" onClick={handleZoomOut} - style={{ minWidth: 32, padding: 0 }} + style={{ minWidth: '2rem', padding: 0 }} title={t("viewer.zoomOut", "Zoom out")} > − - + {dynamicZoom}%