diff --git a/minecraftcodex/studio/static/sass/_fixes.sass b/minecraftcodex/studio/static/sass/_fixes.sass index 8a9c510..ee63b3c 100644 --- a/minecraftcodex/studio/static/sass/_fixes.sass +++ b/minecraftcodex/studio/static/sass/_fixes.sass @@ -3,8 +3,11 @@ overflow: visible // Dropdownss border radius -.dropdown-toggle +.dropdown-toggle, .btn-round border-radius: 6px !important //.open > .dropdown-menu // min-height: auto !important + +.valing-top + vertical-align: top diff --git a/minecraftcodex/studio/templates/studio/main.html b/minecraftcodex/studio/templates/studio/main.html index bbc87f0..40ff9e3 100644 --- a/minecraftcodex/studio/templates/studio/main.html +++ b/minecraftcodex/studio/templates/studio/main.html @@ -68,6 +68,11 @@ window.onload = function() { var texture = $(this).attr('data-texture') mcstudio.changeTexture(texture) }) + + $('[data-action="toggle"]').click(function() { + var target = $(this).attr('data-target') + $(target).toggle('fast') + }) } {% endblock %} @@ -87,8 +92,7 @@ window.onload = function() {
@@ -123,12 +127,11 @@ window.onload = function() {