Skip to content

Commit

Permalink
Fix isse with file name trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
kepano committed Jun 19, 2023
1 parent 2ed1159 commit b34b143
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 19 deletions.
7 changes: 2 additions & 5 deletions Minimal.css
Original file line number Diff line number Diff line change
Expand Up @@ -3646,11 +3646,8 @@ body:not(.sidebar-tabs-underline):not(.sidebar-tabs-index):not(.sidebar-tabs-squ
.full-file-names {
--nav-item-white-space: normal; }

body:not(.full-file-names) .tree-item-inner {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
align-self: center; }
body:not(.full-file-names) {
--nav-item-white-space: nowrap; }

/* Underline headings */
.theme-light,
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Minimal",
"version": "6.3.6",
"version": "6.3.7",
"minAppVersion": "1.1.0",
"author": "@kepano",
"authorUrl": "https://twitter.com/kepano",
Expand Down
7 changes: 2 additions & 5 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3603,11 +3603,8 @@ body:not(.sidebar-tabs-underline):not(.sidebar-tabs-index):not(.sidebar-tabs-squ
.full-file-names {
--nav-item-white-space: normal; }

body:not(.full-file-names) .tree-item-inner {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
align-self: center; }
body:not(.full-file-names) {
--nav-item-white-space: nowrap; }

/* Underline headings */
.theme-light,
Expand Down
2 changes: 1 addition & 1 deletion src/css/main.min.css

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions src/scss/features/trim-file-names.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,5 @@
}

body:not(.full-file-names) {
.tree-item-inner {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
align-self: center;
}
--nav-item-white-space: nowrap;
}
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"6.3.7": "1.1.0",
"6.3.6": "1.1.0",
"6.3.5": "1.1.0",
"6.3.4": "1.1.0",
Expand Down

0 comments on commit b34b143

Please sign in to comment.