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 {
|
||||
display: inline-block;
|
||||
border: 1px solid transparent;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.sound a {
|
||||
@ -174,6 +176,8 @@ nav .extra > a {
|
||||
|
||||
.edit {
|
||||
border: 1px dashed #eee;
|
||||
box-sizing: border-box;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.table-row {
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
<li><a href="#">{{ tag.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% 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>
|
||||
{% endfor %}
|
||||
{% 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><!--
|
||||
-->{% endfor %}
|
||||
</section>
|
||||
<section id="youtube">
|
||||
<form action="/" method="GET">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user