fixed width and responsiveness
This commit is contained in:
parent
a151516fd6
commit
f73005ac1a
@ -10,7 +10,7 @@
|
|||||||
{% for album in albums %}
|
{% for album in albums %}
|
||||||
<div class = "col-pad-2 card">
|
<div class = "col-pad-2 card">
|
||||||
<img src="{{album.image[3].text}}">
|
<img src="{{album.image[3].text}}">
|
||||||
<p style="text-align:center">{{ album.name }} / {{ album.artist.name -}}</p>
|
<p style="text-align:center">{{ album.name }}<br>{{ album.artist.name -}}</p>
|
||||||
<p style="text-align:center">{{- album.playcount }} plays</p>
|
<p style="text-align:center">{{- album.playcount }} plays</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -186,7 +186,7 @@ footer a {
|
|||||||
|
|
||||||
[class*="col-"] {
|
[class*="col-"] {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: calc(100% - 20px);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) {
|
@media only screen and (min-width: 768px) {
|
||||||
|
Loading…
Reference in New Issue
Block a user