Improve style for form in site settings (#2796)
This commit is contained in:
		
							parent
							
								
									1bced91edb
								
							
						
					
					
						commit
						4f1cdccbb0
					
				
					 2 changed files with 1 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -9,12 +9,6 @@ code {
 | 
			
		|||
  margin: 0 auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.admin {
 | 
			
		||||
  input, textarea {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.simple_form {
 | 
			
		||||
  .input {
 | 
			
		||||
    margin-bottom: 15px;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
- content_for :page_title do
 | 
			
		||||
  = t('admin.settings.title')
 | 
			
		||||
 | 
			
		||||
= form_tag(admin_settings_path, method: :put) do
 | 
			
		||||
= form_tag(admin_settings_path, method: :put, class: 'simple_form', style: 'max-width: 100%') do
 | 
			
		||||
  %table.table
 | 
			
		||||
    %thead
 | 
			
		||||
      %tr
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue