Make WordPress Core

Changeset 53924 for trunk


Ignore:
Timestamp:
08/23/2022 01:46:21 PM (22 months 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.
Fixes #56210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r53447 r53924  
    207207            <div class="column">
    208208                <div class="about__image aligncenter">
    209                     <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">
    210                         <circle cx="20.5" cy="20" r="12" fill="#fff"/>
    211                         <circle cx="20.5" cy="20" r="12" fill="url(#a)"/>
    212                         <circle cx="20.5" cy="20" r="12" stroke="#1E1E1E" stroke-width="2"/>
     209                    <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">
     210                        <circle cx="16" cy="16" r="12" fill="#fff"/>
     211                        <circle cx="16" cy="16" r="12" fill="url(#a)"/>
     212                        <circle cx="16" cy="16" r="12" stroke="#1E1E1E" stroke-width="2"/>
    213213                        <defs>
    214214                            <pattern id="a" patternContentUnits="objectBoundingBox" width=".385" height=".385">
Note: See TracChangeset for help on using the changeset viewer.