Tweaked the back button position
This commit is contained in:
		
							parent
							
								
									62aa15a4b4
								
							
						
					
					
						commit
						ad7eab9717
					
				
							
								
								
									
										18
									
								
								src/snek/static/back-form.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/snek/static/back-form.css
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| .back-form { | ||||
|   display: grid; | ||||
|   grid-template-columns: auto auto; | ||||
|   grid-template-rows: auto auto; | ||||
| 
 | ||||
|   fancy-button { | ||||
|     grid-column: 1 / 1; | ||||
|     grid-row: 1 / 1; | ||||
|     z-index: 1; | ||||
|     margin-left: 30px; | ||||
|     margin-top: 30px; | ||||
|   } | ||||
| 
 | ||||
|   generic-form { | ||||
|     grid-column: 1 / 3; | ||||
|     grid-row: 1 / 3; | ||||
|   } | ||||
| } | ||||
| @ -4,8 +4,13 @@ | ||||
|     Login - Snek chat by Molodetz | ||||
| {% endblock %} | ||||
| 
 | ||||
| {% block head %} | ||||
|     <link rel="stylesheet" href="/back-form.css"> | ||||
| {% endblock %} | ||||
| 
 | ||||
| {% block main %} | ||||
|     <div class="back-form"> | ||||
|         <fancy-button url="/back" text="Back" size="auto"></fancy-button> | ||||
|         <generic-form class="center" url="/login.json"></generic-form> | ||||
| 
 | ||||
|     </div> | ||||
| {% endblock %} | ||||
|  | ||||
| @ -4,8 +4,14 @@ | ||||
|     Register - Snek chat by Molodetz | ||||
| {% endblock %} | ||||
| 
 | ||||
| {% block head %} | ||||
|     <link rel="stylesheet" href="/back-form.css"> | ||||
| {% endblock %} | ||||
| 
 | ||||
| {% block main %} | ||||
|     <div class="back-form"> | ||||
|         <fancy-button url="/back" text="Back" size="auto"></fancy-button> | ||||
| 
 | ||||
|         <generic-form class="center" url="/register.json"></generic-form> | ||||
|     </div> | ||||
| {% endblock %} | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 BordedDev
						BordedDev