diff --git a/dashmachine/static/css/settings_system/settings.css b/dashmachine/static/css/settings_system/settings.css index 5d71fc3..c2451c3 100644 --- a/dashmachine/static/css/settings_system/settings.css +++ b/dashmachine/static/css/settings_system/settings.css @@ -6,7 +6,18 @@ } } -.settings-page-card { +@media (max-width: 990px) +{ + body { + max-height: 200vh !important; + } +} + +.settings-page-card-right { + max-height: calc(100vh - 142px) !important; + min-height: calc(100vh - 142px) !important; +} +.settings-page-card-left { max-height: calc(100vh - 30px); min-height: calc(100vh - 30px); } diff --git a/dashmachine/static/js/settings_system/settings.js b/dashmachine/static/js/settings_system/settings.js index 99950f8..d1f7e41 100644 --- a/dashmachine/static/js/settings_system/settings.js +++ b/dashmachine/static/js/settings_system/settings.js @@ -2,6 +2,7 @@ var d = document.getElementById("settings-sidenav"); d.className += " active theme-primary"; $( document ).ready(function() { + $("#config-readme table").addClass('responsive-table'); initTCdrop('#images-tcdrop'); $("#user-modal").modal({ onCloseEnd: function () { diff --git a/dashmachine/templates/settings_system/files.html b/dashmachine/templates/settings_system/files.html index ad88556..cc059dd 100644 --- a/dashmachine/templates/settings_system/files.html +++ b/dashmachine/templates/settings_system/files.html @@ -38,17 +38,25 @@ {% if backgrounds %} {% for background in backgrounds %}
  • - - - - static/images/backgrounds/{{ background }} - - close - - filter_none +
    +
    + + + + static/images/backgrounds/{{ background }} +
    + +
    + + filter_none + close + + +
    +
  • {% endfor %} {% else %} @@ -65,17 +73,25 @@ {% if icons %} {% for icon in icons %}
  • - - - - static/images/icons/{{ icon }} - - close - - filter_none +
    +
    + + + + static/images/icons/{{ icon }} +
    + +
    + + filter_none + close + + +
    +
  • {% endfor %} {% else %} diff --git a/dashmachine/templates/settings_system/settings.html b/dashmachine/templates/settings_system/settings.html index 2990c23..e1b0139 100644 --- a/dashmachine/templates/settings_system/settings.html +++ b/dashmachine/templates/settings_system/settings.html @@ -26,7 +26,7 @@
    -
    +
    @@ -56,7 +56,7 @@
    -
    +
    @@ -80,11 +80,11 @@
    -
    +
    {{ FilesTab() }}
    -
    +
    App Templates
    @@ -99,18 +99,18 @@
    -
    +
    -
    +
    {{ config_readme|safe }}
    -
    +
    {{ UserTab() }}