fix(ui): responsive qr-code generator
This commit is contained in:
		
							parent
							
								
									f6998f0f9a
								
							
						
					
					
						commit
						fed0daf0a7
					
				| @ -1,5 +1,7 @@ | |||||||
| <template> | <template> | ||||||
|   <ToolWrapper :config="config()"> |   <ToolWrapper :config="config()"> | ||||||
|  |     <v-row justify="center" align="center"> | ||||||
|  |       <v-col cols="12" lg="6" sm="12"> | ||||||
|         <v-text-field |         <v-text-field | ||||||
|           v-model="value" |           v-model="value" | ||||||
|           outlined |           outlined | ||||||
| @ -22,7 +24,9 @@ | |||||||
|           </v-col> |           </v-col> | ||||||
|         </v-row> |         </v-row> | ||||||
| 
 | 
 | ||||||
|     <div class="text-center mt-5 mb-5"> |       </v-col> | ||||||
|  | 
 | ||||||
|  |       <v-col cols="12" lg="6" sm="12" class="text-center mt-5 "> | ||||||
|         <qrcode-vue |         <qrcode-vue | ||||||
|           :value="value" |           :value="value" | ||||||
|           :size="size" |           :size="size" | ||||||
| @ -32,9 +36,10 @@ | |||||||
|           render-as="svg" |           render-as="svg" | ||||||
|           class-name="qrcode-wrapper" |           class-name="qrcode-wrapper" | ||||||
|         /> |         /> | ||||||
|     </div> |       </v-col> | ||||||
|  |     </v-row> | ||||||
| 
 | 
 | ||||||
|     <div class="text-center mb-sm-2"> |     <div class="text-center mb-sm-2 mt-4"> | ||||||
|       <v-btn class="mr-1" color="primary" @click="download('png')"> |       <v-btn class="mr-1" color="primary" @click="download('png')"> | ||||||
|         download as png |         download as png | ||||||
|       </v-btn> |       </v-btn> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user