Make WordPress Core


Ignore:
Timestamp:
08/23/2022 01:48:07 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Help/About: Improve vertical alignment in the Additional Design Tools section.

This makes a transparent circle SVG smaller by removing empty space to match the height of other images in the same section, so that all three columns are aligned correctly.

Follow-up to [53339].

Props sabernhardt, weboccults, ironprogrammer, webcommsat, marybaum, oglekler.
Merges [53924] to the 6.0 branch.
Fixes #56210.

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

  • branches/6.0/src/wp-admin/about.php

    r53694 r53925  
    238238            <div class="column">
    239239                <div class="about__image aligncenter">
    240                     <svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    241                         <circle cx="20.5" cy="20" r="12" fill="#fff"/>
    242                         <circle cx="20.5" cy="20" r="12" fill="url(#a)"/>
    243                         <circle cx="20.5" cy="20" r="12" stroke="#1E1E1E" stroke-width="2"/>
     240                    <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     241                        <circle cx="16" cy="16" r="12" fill="#fff"/>
     242                        <circle cx="16" cy="16" r="12" fill="url(#a)"/>
     243                        <circle cx="16" cy="16" r="12" stroke="#1E1E1E" stroke-width="2"/>
    244244                        <defs>
    245245                            <pattern id="a" patternContentUnits="objectBoundingBox" width=".385" height=".385">
Note: See TracChangeset for help on using the changeset viewer.