Skip to content

Commit

Permalink
updated tagtemplate and app.module (#2976)
Browse files Browse the repository at this point in the history
  • Loading branch information
IITI-tushar authored Dec 28, 2024
1 parent e73d61d commit c5a3000
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/CheckIn/tagTemplate.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
import { Template } from '@pdfme/common';
import styles from '../../style/app.module.css';

export const tagTemplate: Template = {
schemas: [
[
{
name: 'name',
type: 'text',
position: { x: 14.91, y: 27.03 },
width: 58.55,
height: 5.67,
alignment: 'center',
fontSize: 16,
characterSpacing: 0,
lineHeight: 1,
fontName: 'Roboto',
fontColor: '#08780b',
className: `${styles['tag-template-name']}`,
} ,
],
] as any,
Expand Down
14 changes: 14 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,20 @@
}
}

.tag-template-name {
position: absolute;
left: 14.91px;
top: 27.03px;
width: 58.55px;
height: 5.67px;
text-align: center;
font-family: 'Roboto', sans-serif;
font-size: 16px;
letter-spacing: 0;
line-height: 1;
color: #08780b;
}

.subTagsLink i {
visibility: hidden;
}
Expand Down

0 comments on commit c5a3000

Please sign in to comment.