Merge pull request #124 from Permissionless-Software-Foundation/dh-footer-fix

style(footer): Improved footer on phones
This commit is contained in:
Chris Troutner
2021-02-07 11:01:40 -08:00
committed by GitHub
3 changed files with 35512 additions and 9975 deletions
+35490 -9967
View File
File diff suppressed because it is too large Load Diff
+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'