Skip to content

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

small ui improvements in the file opener

uggrock3307f91e0aaa
diff --git a/data/assets/core.css b/data/assets/core.css
index f5407c244..fc9b96201 100644
--- a/data/assets/core.css
+++ b/data/assets/core.css
@@ -80,18 +80,20 @@
#fileTitle {
margin-top: 5px;
height: 30px;
- padding-right: 4px;
+ padding-right: 3px;
+ padding-left: 3px;
font-size: 16px;
font-weight: 300;
border: 0;
background-color: transparent;
color: #333333;
- white-space: nowrap;
+ /*white-space: nowrap;*/
+ overflow: hidden;
}
#fileTitle:hover {
text-decoration: none;
- background-color: rgb(210, 210, 210);
+ background-color: rgba(97, 255, 0, 0.23);
}
#viewsRadio {
diff --git a/data/index.html b/data/index.html
index 651107f31..df7fcb791 100644
--- a/data/index.html
+++ b/data/index.html
@@ -248,7 +248,7 @@
<div class="row1">
<nav class="navbar navbar-default" role="navigation">
<div class="btn-toolbar flexLayout" >
- <div class="btn-group" style="min-width: 50px;">
+ <div class="btn-group">
<button id="fileMenuButton" class="btn btn-link dropdown-toggle" data-toggle="dropdown">
<span class="fileExt" data-i18n="[title]ns.common:fileOperations">
<span id="fileExtText"></span><span style="margin-left: 5px;" class="fa fa-ellipsis-v"></span>
diff --git a/data/js/fileopener.js b/data/js/fileopener.js
index 693985d91..c91ca4a56 100644
--- a/data/js/fileopener.js
+++ b/data/js/fileopener.js
@@ -437,6 +437,7 @@ define(function(require, exports, module) {
var $fileTitle = $('#fileTitle');
$fileTitle.editable('destroy');
$fileTitle.text(title);
+ $fileTitle.attr("title",title);
if (!isChrome) {
$fileTitle.editable({
type: 'text',