style(footer): Improved footer on phones

This commit is contained in:
Daniel Gonzalez
2021-02-06 13:24:47 -04:00
parent ce53fc876c
commit c5435e6a8e
2 changed files with 22 additions and 8 deletions
+17 -1
View File
@@ -60,4 +60,20 @@
ul #tor span{
margin-right: 9px;
}
@media screen and (max-width: 500px) {
.section-tittle{
margin-bottom: 1rem!important;
}
#footer ul li{
margin-left: 0;
margin-bottom: 1em;
}
#footer ul li a{
display: block!important;
}
#footer ul li .bar-space{
display: none!important;
}
}
+5 -7
View File
@@ -87,15 +87,13 @@ class Footer extends React.Component {
</Col>
<Col md={7} className='footer-section'>
<div className='pull-right'>
<span className='section-tittle'>
Ways to access this web-app
</span>
<p className='section-tittle'>Ways to access this web-app</p>
<ul>
<li id='web'>
<span>
<b>Web</b>
</span>
<b>|</b>
<b className='bar-space'>|</b>
<a href={siteConfig.clearWebUrl}>{siteConfig.clearWebUrl}</a>
</li>
@@ -103,7 +101,7 @@ class Footer extends React.Component {
<span>
<b>Tor</b>
</span>
<b>|</b>
<b className='bar-space'>|</b>
<a href={`http://${siteConfig.torUrl}`}>
{siteConfig.torUrl}
</a>
@@ -113,7 +111,7 @@ class Footer extends React.Component {
<span>
<b>IPFS</b>
</span>
<b>|</b>
<b className='bar-space'>|</b>
<a href={_this.state.ipfsHashLink}>{this.state.ipfsHash}</a>
</li>
@@ -121,7 +119,7 @@ class Footer extends React.Component {
<span>
<b>Memo</b>
</span>
<b>|</b>
<b className='bar-space'>|</b>
<a
href={`https://memo.cash/profile/${siteConfig.memoAddr}`}
target='_blank'