Plugin Directory

Changeset 357892


Ignore:
Timestamp:
03/09/2011 09:23:53 PM (15 years ago)
Author:
ciobi
Message:

pos_bug

Location:
admin-customization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin-customization/tags/1.2/core.php

    r357888 r357892  
    6666            $vertical_padding = $logo_size[1] - 26 > 0 ? round( ( $logo_size[1] - 26 ) / 2 ) : 0;
    6767            // 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 );
    6969            array_push(
    7070                $site_title_styles,
     
    9292            }
    9393            #wphead #privacy-on-link {
    94                     line-height: ' . ( $logo_size[1] + 7 ) . 'px;
     94                    line-height: ' . ( max( $logo_size[1], 26 ) + 5 ) . 'px;
    9595            }';
    9696           
  • admin-customization/trunk/core.php

    r357888 r357892  
    6666            $vertical_padding = $logo_size[1] - 26 > 0 ? round( ( $logo_size[1] - 26 ) / 2 ) : 0;
    6767            // 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 );
    6969            array_push(
    7070                $site_title_styles,
     
    9292            }
    9393            #wphead #privacy-on-link {
    94                     line-height: ' . ( $logo_size[1] + 7 ) . 'px;
     94                    line-height: ' . ( max( $logo_size[1], 26 ) + 5 ) . 'px;
    9595            }';
    9696           
Note: See TracChangeset for help on using the changeset viewer.