<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Darryl Wright</title>
    <description>The latest articles on DEV Community by Darryl Wright (@eyesno).</description>
    <link>https://dev.to/eyesno</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F125793%2F19d0703c-1951-4a93-b391-4b35bc6051f2.jpeg</url>
      <title>DEV Community: Darryl Wright</title>
      <link>https://dev.to/eyesno</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eyesno"/>
    <language>en</language>
    <item>
      <title>How do I center a logo in this position?</title>
      <dc:creator>Darryl Wright</dc:creator>
      <pubDate>Thu, 20 Feb 2020 19:38:38 +0000</pubDate>
      <link>https://dev.to/eyesno/how-do-i-center-a-logo-in-this-position-5105</link>
      <guid>https://dev.to/eyesno/how-do-i-center-a-logo-in-this-position-5105</guid>
      <description>&lt;p&gt;You see the blockbuster logo in this position? I am using a generic &lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt; tag to display it. I've put it inside my  component as the topmost item right above the first . Here's my code:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;Toolbar&amp;gt;&amp;lt;img src={logo} style={{alignSelf: 'center'}} height="40px"/&amp;gt;&amp;lt;/Toolbar&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;I also tried this:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;Toolbar style={{alignItems="center"}}&amp;gt;&amp;lt;img src={logo} height="40px"/&amp;gt;&amp;lt;/Toolbar&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Note: The use of  seems to have no effect. I just wasn't sure what it ought to be. &lt;/p&gt;

&lt;p&gt;As you can see in the photo -- it's definitely not centered. Any suggestions?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YKfFWWSD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/a4kvsqpxpw5vfnocexc2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YKfFWWSD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/a4kvsqpxpw5vfnocexc2.png" alt="Example"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>question</category>
      <category>react</category>
      <category>materialui</category>
    </item>
  </channel>
</rss>
