forked from server/soundboard
Fix button spacing and adjust it to edit mode
This commit is contained in:
parent
99bb026a56
commit
a6a1b04a8e
@ -148,6 +148,8 @@ nav .extra > a {
|
|||||||
|
|
||||||
.sound {
|
.sound {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sound a {
|
.sound a {
|
||||||
@ -174,6 +176,8 @@ nav .extra > a {
|
|||||||
|
|
||||||
.edit {
|
.edit {
|
||||||
border: 1px dashed #eee;
|
border: 1px dashed #eee;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-row {
|
.table-row {
|
||||||
|
|||||||
@ -7,9 +7,9 @@
|
|||||||
<li><a href="#">{{ tag.name }}</a></li>
|
<li><a href="#">{{ tag.name }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% for sound in sounds %}
|
{% for sound in sounds %}<!--
|
||||||
<div class="sound{{ ' edit' if edit }}"><a href="{{ '/' + ('edit' if edit else 'play') + '/' + sound | urlencode }}">{{ sound.split('.', 1)[0] }}</a></div>
|
--><div class="sound{{ ' edit' if edit }}"><a href="{{ '/' + ('edit' if edit else 'play') + '/' + sound | urlencode }}">{{ sound.split('.', 1)[0] }}</a></div><!--
|
||||||
{% endfor %}
|
-->{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
<section id="youtube">
|
<section id="youtube">
|
||||||
<form action="/" method="GET">
|
<form action="/" method="GET">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user