Skip to content

Commit 561c0c8

Browse files
authored
Fix: Ticket title styling (#837)
1 parent 1a4d431 commit 561c0c8

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

frontend/src/components/common/AttendeeTicket/AttendeeTicket.module.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@
5252
@media print {
5353
background: #ffffff;
5454
border-bottom: 2px solid #e0e0e0;
55-
padding: 0 0 30px 0;
56-
margin-bottom: 30px;
55+
padding: 15px 0;
56+
margin-bottom: 20px;
57+
display: flex;
58+
justify-content: center;
5759
}
5860
}
5961

@@ -62,6 +64,7 @@
6264
align-items: center;
6365
justify-content: space-between;
6466
gap: 24px;
67+
width: 100%;
6568

6669
@include mixins.respond-below(sm) {
6770
flex-direction: column;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.title {
2+
text-align: center;
3+
color: #000;
4+
font-size: 24px;
5+
font-weight: 600;
6+
margin-bottom: 40px;
7+
8+
@media print {
9+
display: none;
10+
}
11+
}

frontend/src/components/routes/product-widget/AttendeeProductAndInformation/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {Container} from "@mantine/core";
77
import {t} from "@lingui/macro";
88
import {PoweredByFooter} from "../../../common/PoweredByFooter";
99
import {OnlineEventDetails} from "../../../common/OnlineEventDetails";
10+
import classes from './AttendeeProductAndInformation.module.scss';
1011

1112
export const AttendeeProductAndInformation = () => {
1213
const {eventId, attendeeShortId} = useParams();
@@ -32,7 +33,7 @@ export const AttendeeProductAndInformation = () => {
3233
*/
3334
return (
3435
<Container>
35-
<h2>{t`Your ticket for`} {event.title}</h2>
36+
<h2 className={classes.title}>{t`Your ticket for`} {event.title}</h2>
3637

3738
<AttendeeTicket
3839
attendee={attendee as Attendee}

0 commit comments

Comments
 (0)