File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ function handlePrint() {
4141 .unavailable-mark {
4242 color: #dc2626;
4343 }
44- @media print {
45- .no-print {
46- display: none;
47- }
48- }
4944 </style>
5045 </head>
5146 <body>
@@ -60,12 +55,9 @@ function handlePrint() {
6055
6156<template >
6257 <div class =" addons-container" >
63- <button
64- class =" print-button no-print"
65- @click =" handlePrint"
66- >
58+ <VPButton @click =" handlePrint " >
6759 Print Sponsorship Adds-on Table
68- </button >
60+ </VPButton >
6961
7062 <div id =" addons-table" >
7163 <table class =" addons-table" >
@@ -194,11 +186,4 @@ td {
194186.unavailable-mark {
195187 color : #dc2626 ;
196188}
197-
198- /* Print-specific styles */
199- @media print {
200- .no-print {
201- display : none ;
202- }
203- }
204189 </style >
Original file line number Diff line number Diff line change @@ -49,11 +49,6 @@ function handlePrint() {
4949 .benefit-item p {
5050 margin: 0;
5151 }
52- @media print {
53- .no-print {
54- display: none;
55- }
56- }
5752 </style>
5853 </head>
5954 <body>
@@ -68,12 +63,9 @@ function handlePrint() {
6863
6964<template >
7065 <div class =" sponsorship-container" >
71- <button
72- class =" print-button no-print"
73- @click =" handlePrint"
74- >
66+ <VPButton @click =" handlePrint " >
7567 Print Sponsorship Table
76- </button >
68+ </VPButton >
7769
7870 <div id =" sponsorship-table" >
7971 <table class =" sponsorship-table" >
@@ -130,17 +122,6 @@ function handlePrint() {
130122</template >
131123
132124<style scoped>
133- /* Button styling */
134- .print-button {
135- margin-bottom : 20px ;
136- padding : 8px 16px ;
137- background-color : #4caf50 ;
138- color : white ;
139- border : none ;
140- border-radius : 4px ;
141- cursor : pointer ;
142- }
143-
144125/* Table styling */
145126.sponsorship-table {
146127 width : 100% ;
@@ -191,11 +172,4 @@ td {
191172.benefit-item p {
192173 margin : 0 ;
193174}
194-
195- /* Print-specific styles */
196- @media print {
197- .no-print {
198- display : none ;
199- }
200- }
201175 </style >
You can’t perform that action at this time.
0 commit comments