Fix mobile layout

Unfortunately also breaks the animation when opening contributor
details for now. Couldn't get it to work again.
This commit is contained in:
2017-06-07 11:11:01 +02:00
parent 1f41dbcae5
commit c98a50cd42
4 changed files with 22 additions and 39 deletions
+16 -30
View File
@@ -15,10 +15,10 @@ table.contributor-list {
&.metadata {
height: 0;
transition: all 0.2s ease-out;
td {
padding: 0 1.2rem;
transition: all 0.2s ease-out;
}
a {
@@ -28,41 +28,27 @@ table.contributor-list {
}
}
dl {
ul {
list-style: none;
display: block;
width: 100%;
font-size: 1rem;
dt, dd {
display: inline-block;
overflow: hidden;
height: 0;
line-height: 1.6rem;
transition: all 0.2s ease-out;
}
dt {
clear: both;
float: left;
width: 30%;
}
dd {
float: right;
width: 70%;
text-align: right;
}
}
overflow: hidden;
height: 0;
transition: all 0.2s ease-out;
&.visible {
td {
padding: 1rem 1.2rem;
}
dl {
dt, dd {
height: auto;
li {
display: inline;
&+li {
margin-left: 1rem;
}
}
}
&.visible {
height: auto;
ul {
height: auto;
}
}
}
td {
+1 -1
View File
@@ -32,7 +32,7 @@ ul.proposal-list {
.votes {
font-size: 1rem;
color: lightblue;
padding-left: 1rem;
padding-left: 0.5rem;
}
button {