Changeset 357892
- Timestamp:
- 03/09/2011 09:23:53 PM (15 years ago)
- Location:
- admin-customization
- Files:
-
- 2 edited
-
tags/1.2/core.php (modified) (2 diffs)
-
trunk/core.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin-customization/tags/1.2/core.php
r357888 r357892 66 66 $vertical_padding = $logo_size[1] - 26 > 0 ? round( ( $logo_size[1] - 26 ) / 2 ) : 0; 67 67 // Calculate the header height 68 $adjusted_head_height = ( $logo_size[1] + $margins[0] + $margins[2] < 46 ) ? 46 : $logo_size[1] + $margins[0] + $margins[2];68 $adjusted_head_height = max( $logo_size[1] + $margins[0] + $margins[2], 46 ); 69 69 array_push( 70 70 $site_title_styles, … … 92 92 } 93 93 #wphead #privacy-on-link { 94 line-height: ' . ( $logo_size[1] + 7) . 'px;94 line-height: ' . ( max( $logo_size[1], 26 ) + 5 ) . 'px; 95 95 }'; 96 96 -
admin-customization/trunk/core.php
r357888 r357892 66 66 $vertical_padding = $logo_size[1] - 26 > 0 ? round( ( $logo_size[1] - 26 ) / 2 ) : 0; 67 67 // Calculate the header height 68 $adjusted_head_height = ( $logo_size[1] + $margins[0] + $margins[2] < 46 ) ? 46 : $logo_size[1] + $margins[0] + $margins[2];68 $adjusted_head_height = max( $logo_size[1] + $margins[0] + $margins[2], 46 ); 69 69 array_push( 70 70 $site_title_styles, … … 92 92 } 93 93 #wphead #privacy-on-link { 94 line-height: ' . ( $logo_size[1] + 7) . 'px;94 line-height: ' . ( max( $logo_size[1], 26 ) + 5 ) . 'px; 95 95 }'; 96 96
Note: See TracChangeset
for help on using the changeset viewer.