Bai - Fixed content overflow on mobile
This commit is contained in:
parent
2d46ac2b24
commit
756271b161
|
|
@ -91,10 +91,13 @@ class Bai extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div className="Bai">
|
<div className="Bai">
|
||||||
{content}
|
{content}
|
||||||
|
<div className="about">
|
||||||
<h1>About</h1>
|
<h1>About</h1>
|
||||||
<p> You can find the source, dataset and model created for BAI on github at
|
<p>
|
||||||
<a href="https://www.github.com/RaspberryProgramming/BAI"> https://www.github.com/RaspberryProgramming/BAI</a>
|
You can find the source, dataset and model created for BAI on github at
|
||||||
</p>
|
</p>
|
||||||
|
<a href="https://www.github.com/RaspberryProgramming/BAI"> https://www.github.com/RaspberryProgramming/BAI</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,10 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
|
||||||
a:link {
|
a:link {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
@ -69,10 +73,7 @@ html, body {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
.App {
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
}
|
|
||||||
.App .app-content {
|
.App .app-content {
|
||||||
margin-bottom: 5.5rem;
|
margin-bottom: 4rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3,13 +3,18 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10%;
|
padding: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Bai * {
|
.Bai * {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Bai .about {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.Bai h1 {
|
.Bai h1 {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue