Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing issue with many tags in the fileopener

uggrockea358ee9e5ee
diff --git a/data/assets/core.css b/data/assets/core.css
index a4523cdc1..68d10776a 100644
--- a/data/assets/core.css
+++ b/data/assets/core.css
@@ -195,12 +195,6 @@
font-size: 14px !important;
}
-#tagsContainer {
- width: 100%;
- min-height: 40px;
- margin: 0;
-}
-
#viewToolbars {
min-height: 40px;
}
diff --git a/data/assets/layout.css b/data/assets/layout.css
index 564399a56..654fcafc5 100644
--- a/data/assets/layout.css
+++ b/data/assets/layout.css
@@ -263,15 +263,20 @@
}
.col3 .row1 {
- flex: 0 1 80px;
- -webkit-flex: 0 1 80px;
- -ms-flex: 0 1 80px;
+ flex: 0 1 auto;
+ -webkit-flex: 0 1 auto;
+ -ms-flex: 0 1 auto;
min-height: 80px;
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.1);
z-index: 1;
}
+.col3 .row1 nav {
+ min-height: 80px;
+ margin-bottom: 0;
+}
+
.col3 .row2 {
flex: 1 1 auto;
-webkit-flex: 1 1 auto;
@@ -293,10 +298,24 @@
min-height: 0px;
}
+#tagsContainer {
+ width: 100%;
+ max-height: 55px;
+ margin: 0;
+}
+
#fileViewerMainToolbar {
- flex: 0 1 210px;
- -webkit-flex: 0 1 210px;
- -ms-flex: 0 1 210px;
+ margin-top: -8px;
+ padding-left: 0px;
+ /*min-width: 190px;*/
+
+ flex: 0 1 auto;
+ /*-ms-flex: 0 1 190px;*/
+}
+
+#fileTags {
+ overflow-y: auto;
+ overflow-x: hidden;
}
/*==== Location Management ====== */
diff --git a/data/index.html b/data/index.html
index 6c7d2d657..6ca2ac7ae 100644
--- a/data/index.html
+++ b/data/index.html
@@ -342,8 +342,8 @@
<i class="fa fa-plus-square"></i>
</button>
<ul class="dropdown-menu" id="tagSuggestionsMenu"></ul>
- <span id="fileTags" class="flexMaxWidth" style="max-height: 40px; overflow-y: auto; overflow-x: hidden;"></span>
- <div id="fileViewerMainToolbar" class="btn-group" style="margin-top: -8px; min-width: 190px;">
+ <span id="fileTags" class="flexMaxWidth"></span>
+ <div id="fileViewerMainToolbar" class="btn-group">
<button class="btn btn-link pull-right" data-i18n="[title]ns.common:openNextFileTooltip" id="nextFileButton">
<i class="fa fa-arrow-right fa-lg"></i>
</button>