diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-01 01:51:18 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-01 01:51:18 -0700 |
commit | 4d880fc05bea10b46caff330d20c66db3d56aae0 (patch) | |
tree | f5af1da1475535fdf9d27d1d65dc23c81489ec38 /templates | |
parent | 7b0d50fc45784ebb3c8845931bf38554900db1d7 (diff) | |
download | gitbook-4d880fc05bea10b46caff330d20c66db3d56aae0.zip gitbook-4d880fc05bea10b46caff330d20c66db3d56aae0.tar.gz gitbook-4d880fc05bea10b46caff330d20c66db3d56aae0.tar.bz2 |
Improve animation and display of progress bar
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.html b/templates/page.html index 1a67054..b257da0 100644 --- a/templates/page.html +++ b/templates/page.html @@ -11,7 +11,7 @@ <div class="page-wrapper"> <div class="book-progress"> <div class="bar"> - <div class="inner" style="width: {{ progress.percent }}%;"></div> + <div class="inner" style="width: {{ progress.percent }}%;min-width: {{ progress.prevPercent }}%;"></div> </div> <div class="chapters"> {% for p in progress.chapters %} @@ -19,7 +19,7 @@ {% endfor %} </div> </div> - + <div class="page-inner"> {% for section in content %} <section class="{{ section.type }}" id="section-{{ section.id }}"> |