diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-20 13:54:12 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-20 13:54:12 +0100 |
| commit | 2a4875869399d5be11cce3f9723512e447aa4c5b (patch) | |
| tree | 18e481ba3e6375d721910a2ee8f04813d0a4fa11 | |
| parent | 8ba53af0c1f6ddd1601f33c4009d661542107f24 (diff) | |
| download | Chimère-2a4875869399d5be11cce3f9723512e447aa4c5b.tar.bz2 Chimère-2a4875869399d5be11cce3f9723512e447aa4c5b.zip | |
Fix detail width on directory
| -rw-r--r-- | chimere/static/chimere/css/styles.css | 17 | ||||
| -rw-r--r-- | chimere/templates/chimere/category_directory.html | 2 |
2 files changed, 9 insertions, 10 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index 727cc04..ff9cdf6 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -572,10 +572,6 @@ div#sidebar-container{ width: 400px; } -#directory #detail-header, #directory #detail-content, #directory #detail_footer{ - width: auto; -} - #detail-header h4{ font-family: 'Yanone Kaffeesatz Light', sans-serif; text-shadow: 1px 1px 2px black; @@ -738,6 +734,7 @@ div#sidebar-container{ background-repeat: no-repeat; padding: 0.5em 37px 0.5em 1em; line-height: 18px; + min-width: 150px; } #detail_footer a.see-on-map{ @@ -1748,9 +1745,10 @@ div.pp_default .pp_expand{ padding: 0; } -ul#category-directory, -#directory-category-list{ - width: 94%; +#directory #detail_footer, +#directory #detail-content, +#directory #detail-header{ + width: auto; } ul#category-directory{ @@ -1783,8 +1781,10 @@ ul#category-directory{ } #category-directory-content > div { + background-color: #fff; height: 100%; - padding: 0 0 0 1em; + margin: 0 0 0 1em; + padding: 0; overflow-x: hidden; overflow-y: auto; } @@ -1795,7 +1795,6 @@ ul#category-directory{ margin-left: 15px; } -#category-directory-content > div > div, #category-directory-content > div > ul { background-color: #fff; } diff --git a/chimere/templates/chimere/category_directory.html b/chimere/templates/chimere/category_directory.html index 592f853..169494c 100644 --- a/chimere/templates/chimere/category_directory.html +++ b/chimere/templates/chimere/category_directory.html @@ -83,7 +83,7 @@ </div> {% endif %} {% if current_marker %} - <div class="col-md-3 col-xs-4"> + <div class="col-md-3 col-xs-4" id="directory-marker"> {% include "chimere/category_item_detail.html" %} </div> {% endif %} |
