Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaud Lepretre <thibaud.lepretre@gmail.com>2021-08-08 11:00:27 +0300
committerThibaud Lepretre <thibaud.lepretre@gmail.com>2021-08-11 15:04:00 +0300
commit0791201693fd0c12a1a9027609d8b7e449fadb30 (patch)
tree9505bd808ebcd83e05282e910b99b117ea7f9434 /src/js/sidebar.js
parenta98bf8ca122e88fc7d108a2360b02870a124b72c (diff)
Fix swipe and transform
- [x] sidebarBehavior 3 & 6 still have issue partially fixes #342 and #318
Diffstat (limited to 'src/js/sidebar.js')
-rwxr-xr-xsrc/js/sidebar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/sidebar.js b/src/js/sidebar.js
index a195e15..1661f88 100755
--- a/src/js/sidebar.js
+++ b/src/js/sidebar.js
@@ -141,6 +141,7 @@
// Check if there is enough place for translating `#header .header-title` and `#header .right-picture`
// regarding the size of `#header .header-title-link`
+ // TODO better to use text-overflow on $headerElements.title
if (this.$header.width() - this.$sidebar.width() - this.$headerElements.titleLink.width() < 130) {
blog = blog.not(this.$headerElements.title).not(this.$headerElements.rightPicture);
}