TagSpaces is an offline, open source, document manager with tagging support
fixing layout issue on firefox
uggrockf5b467cca40c
diff --git a/data/assets/layout.css b/data/assets/layout.cssindex a10574c0c..e7096b279 100644--- a/data/assets/layout.css+++ b/data/assets/layout.css@@ -301,6 +301,9 @@#locationName {text-align: left;+ max-width: 230px;+ text-overflow: ellipsis;+ overflow: hidden;}#locationSwitch {@@ -309,9 +312,8 @@}#selectLocation {- flex: 0 1 40px;- -webkit-flex: 0 1 40px;- -ms-flex: 0 1 40px;+ width: 100%;+ margin-left: 2px;}#locationsList {@@ -327,7 +329,10 @@-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;text-align: left;- line-height: 30px;+ line-height: 35px;+ max-width: 250px;+ text-overflow: ellipsis;+ overflow: hidden;}.editLocation {diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.jsindex 8191df71a..4a2da80d8 100644--- a/data/ext/perspectiveGrid/perspectiveUI.js+++ b/data/ext/perspectiveGrid/perspectiveUI.js@@ -440,10 +440,11 @@ define(function(require, exports, module) {var self = this;$fileTile- /*.hammer().on("doubletap", function() { //.dblclick(function() {- TSCORE.FileOpener.openFile(filePath);- self.selectFile(filePath);- })*/+ .hammer().on("doubletap", function() { //.dblclick(function() {+ return false;+ //TSCORE.FileOpener.openFile(filePath);+ //self.selectFile(filePath);+ }).click(function() {TSCORE.FileOpener.openFile(filePath);self.selectFile(filePath);diff --git a/data/index.html b/data/index.htmlindex ef7c44067..761b3b1c8 100644--- a/data/index.html+++ b/data/index.html@@ -67,14 +67,12 @@</button></div></div>- <div class="btn-toolbar">- <div id="locationSwitch">- <button type="button" class="btn btn-default dropdown-toggle flexLayout fullWidth" id="selectLocation" data-toggle="dropdown">- <span class="flexMaxWidth" id="locationName">Choose Location</span>- <span class="fa fa-caret-down" style="padding-top: 5px;"></span>- </button>- <ul class="dropdown-menu" id="locationsList"></ul>- </div>+ <div class="btn-toolbar" id="locationSwitch">+ <button type="button" class="btn btn-default" id="selectLocation" data-toggle="dropdown">+ <span class="pull-left" id="locationName">Choose Location</span>+ <span class="fa fa-caret-down pull-right" style="padding-top: 5px;"></span>+ </button>+ <ul class="dropdown-menu" id="locationsList"></ul></div></nav></div>@@ -185,7 +183,7 @@<input type="radio" name="options"> <i class="fa fa-info-circle"></i></label></div>- <button class="btn btn-link pull-right" data-i18n="[title]ns.common:openSettingTooltip;" id="openOptions">+ <button class="btn btn-link" style="margin-left: 20px;" data-i18n="[title]ns.common:openSettingTooltip;" id="openOptions"><i class="fa fa-gears fa-lg"></i></button></div>