Skip to content

Commit 34fefbf

Browse files
committed
feat: remove page count display from main header
Removed the page count badge that showed 'X page(s)' next to the title in the main header for a cleaner, more streamlined user interface. - Removed: span element displaying page count - Result: Header now shows only title and edit icon
1 parent 65200ff commit 34fefbf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/MainHeader.jsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,7 @@ export function MainHeader(props) {
177177
<svg className="h-5 w-5">
178178
<use xlinkHref="#icon-pen" />
179179
</svg>
180-
{props.currentItem && props.currentItem.pages && (
181-
<span className="ml-2 px-2 py-0.5 text-xs rounded-full bg-black-600 text-gray-300">
182-
{props.currentItem.pages.length} {props.currentItem.pages.length === 1 ? 'page' : 'pages'}
183-
</span>
184-
)}
180+
185181
</div>
186182
)}
187183
</div>

0 commit comments

Comments
 (0)