Improve report page structure (#12615)
* Move resolved button to the heading This is one of the commits on improving overall reports page structure. It changes where resolved button is located, moving it to the heading, right next to the "Report #n" header, so-called "hot-place" to look at. To accomplish this we have to declare one more content variable, change admin dashboard template to respect it and CSS files for minor styling, so buttons are inlined and centrally aligned according to the heading. * Move actions buttons below the report table I believe that actions to react on report should not be located at the top of the page, instead they should be either after the table or reporter's comment. This is just a logical sign that you should not react to the report without reading all the details first.
This commit is contained in:
		
				
					committed by
					
						
						Eugen Rochko
					
				
			
			
				
	
			
			
			
						parent
						
							09a72add0e
						
					
				
				
					commit
					34aa5c7cb2
				
			@@ -181,18 +181,39 @@ $content-width: 840px;
 | 
			
		||||
      padding-top: 30px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &-heading {
 | 
			
		||||
      display: flex;
 | 
			
		||||
 | 
			
		||||
      padding-bottom: 40px;
 | 
			
		||||
      border-bottom: 1px solid lighten($ui-base-color, 8%);
 | 
			
		||||
      margin-bottom: 40px;
 | 
			
		||||
 | 
			
		||||
      flex-wrap: wrap;
 | 
			
		||||
      align-items: center;
 | 
			
		||||
 | 
			
		||||
      justify-content: space-between;
 | 
			
		||||
 | 
			
		||||
      &-actions {
 | 
			
		||||
        display: inline-flex;
 | 
			
		||||
 | 
			
		||||
        & > * {
 | 
			
		||||
          margin-left: 5px;
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      @media screen and (max-width: $no-columns-breakpoint) {
 | 
			
		||||
        border-bottom: 0;
 | 
			
		||||
        padding-bottom: 0;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    h2 {
 | 
			
		||||
      color: $secondary-text-color;
 | 
			
		||||
      font-size: 24px;
 | 
			
		||||
      line-height: 28px;
 | 
			
		||||
      font-weight: 400;
 | 
			
		||||
      padding-bottom: 40px;
 | 
			
		||||
      border-bottom: 1px solid lighten($ui-base-color, 8%);
 | 
			
		||||
      margin-bottom: 40px;
 | 
			
		||||
 | 
			
		||||
      @media screen and (max-width: $no-columns-breakpoint) {
 | 
			
		||||
        border-bottom: 0;
 | 
			
		||||
        padding-bottom: 0;
 | 
			
		||||
        font-weight: 700;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user