forked from root/acme.js
		
	better binary der display
This commit is contained in:
		
							parent
							
								
									70103de28d
								
							
						
					
					
						commit
						36f5337f7d
					
				
							
								
								
									
										2
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.js
									
									
									
									
									
								
							@ -59,7 +59,7 @@
 | 
				
			|||||||
          })
 | 
					          })
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $('.js-der').innerText = JSON.stringify(der, null, 2);
 | 
					        $('.js-der').innerText = der;
 | 
				
			||||||
        $('.js-toc-der').hidden = false;
 | 
					        $('.js-toc-der').hidden = false;
 | 
				
			||||||
        $('.js-jwk').innerText = JSON.stringify(results, null, 2);
 | 
					        $('.js-jwk').innerText = JSON.stringify(results, null, 2);
 | 
				
			||||||
        $('.js-loading').hidden = true;
 | 
					        $('.js-loading').hidden = true;
 | 
				
			||||||
 | 
				
			|||||||
@ -6,6 +6,14 @@
 | 
				
			|||||||
        width: 42em;
 | 
					        width: 42em;
 | 
				
			||||||
        height: 10em;
 | 
					        height: 10em;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					      /* need to word wrap the binary no space der */
 | 
				
			||||||
 | 
					      .js-der{
 | 
				
			||||||
 | 
					        white-space: pre-wrap;      /* CSS3 */   
 | 
				
			||||||
 | 
					        white-space: -moz-pre-wrap; /* Firefox */    
 | 
				
			||||||
 | 
					        white-space: -pre-wrap;     /* Opera <7 */   
 | 
				
			||||||
 | 
					        white-space: -o-pre-wrap;   /* Opera 7 */    
 | 
				
			||||||
 | 
					        word-wrap: break-word;      /* IE */
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
  </head>
 | 
					  </head>
 | 
				
			||||||
  <body>
 | 
					  <body>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user