File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class CertData {
102102        }  else  { 
103103            // Display an error message if there is an error loading the data source file 
104104            this . error . style . display  =  'block' ; 
105-             this . resource . style . display  =  ' none' ; 
105+             document . getElementById ( "pdfViewer" ) . style . display  =  " none" ; 
106106            if  ( this . urlParams . get ( 'data' ) )  { 
107107                this . urlParams . delete ( 'data' ) ; 
108108                var  newUrl  =  `${ window . location . pathname }  ?${ this . urlParams . toString ( ) }  ` ; 
Original file line number Diff line number Diff line change @@ -139,9 +139,9 @@ main {
139139.certificate  {
140140    position :  relative;
141141    width :  70%  ;
142-     min-height :  300 px  ;
142+     min-height :  400 px  ;
143143    float :  left;
144-     margin-right :  30 px  ;
144+     margin-right :  20 px  ;
145145    border :  1px   solid # ccc ;
146146}
147147
@@ -190,7 +190,7 @@ main {
190190}
191191
192192.buttons  {
193-     margin-top :  20 px  ;
193+     margin-top :  15 px  ;
194194    display :  flex;
195195    justify-content :  space-around;
196196}
@@ -312,6 +312,7 @@ footer {
312312@media  screen and  (max-width :  880px  ) {
313313    .certificate  {
314314        width :  100%  ;
315+         min-height :  300px  ;
315316        float :  none;
316317        margin-right :  0 ;
317318        margin-bottom :  20px  ;
Original file line number Diff line number Diff line change 5656        </ section > 
5757        < section  class ="details "> 
5858            < h1 > Certificate Title</ h1 > 
59-             < p  id ="courseTitle "> </ p > 
60-             < p > Certify for: < span  id ="certifiedName "> </ span > </ p > 
59+             < p  id ="courseTitle "> Certificate Name </ p > 
60+             < p > Certify for: < span  id ="certifiedName "> Nguyễn Văn A </ span > </ p > 
6161        </ section > 
6262        < section  class ="description "> 
6363            < h2 > Certificate Description</ h2 > 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments