forked from jappel/leistungsbilanz-ts
Show a printer icon on the print view button
The "Seitenansicht" link in the project header had text only, while the other header buttons show an icon plus text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7692699ee2
commit
acff38afb8
1 changed files with 3 additions and 1 deletions
|
|
@ -60,6 +60,7 @@ import {
|
||||||
toDistributionBoardInfoDraft,
|
toDistributionBoardInfoDraft,
|
||||||
type DistributionBoardInfoDraft,
|
type DistributionBoardInfoDraft,
|
||||||
} from "../../../frontend/components/distribution-board-info-card";
|
} from "../../../frontend/components/distribution-board-info-card";
|
||||||
|
import { Printer } from "lucide-react";
|
||||||
import {
|
import {
|
||||||
ProjectSettingsModal,
|
ProjectSettingsModal,
|
||||||
type ProjectSettingsInput,
|
type ProjectSettingsInput,
|
||||||
|
|
@ -867,10 +868,11 @@ export default function ProjectDetailPage() {
|
||||||
</div>
|
</div>
|
||||||
<div className="d-flex gap-2">
|
<div className="d-flex gap-2">
|
||||||
<Link
|
<Link
|
||||||
className="btn btn-primary"
|
className="btn btn-primary d-inline-flex align-items-center gap-2"
|
||||||
href={`/projects/${projectId}/print`}
|
href={`/projects/${projectId}/print`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
|
<Printer aria-hidden="true" size={16} />
|
||||||
Seitenansicht
|
Seitenansicht
|
||||||
</Link>
|
</Link>
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue