Comments (20)
能把生成的html源码贴出来看一下吗? 我这里没有测试环境. 另外, 是3.3.7版本吧? 官网没看到有3.7版本
from flask-paginate.
from flask-paginate.
bootstrp 3.3 版本在分页开始处加了<nav aria-label="Page navigation example">
, 稍后我会更新.
from flask-paginate.
发了0.5.3
, 但没验证是否可行, 配置文件里用 CSS_FRAMEWORK = "bootstrap3_3"
, 参数形式时用css_framework = "bootstrap3_3"
指定版本
from flask-paginate.
可能是手机浏览器的问题吧, 我把你贴的存成html文件, 电脑上打开是正常的, 上面加了
, 下面的没加, 都没有出现你说的问题.from flask-paginate.
上面加了<nav>
, 下面的没加, 都没有出现你说的问题.
from flask-paginate.
from flask-paginate.
from flask-paginate.
from flask-paginate.
估计是浏览器的问题了, 不过看起来是宽度不够换行了. 是不是布局哪里设置的问题?
from flask-paginate.
from flask-paginate.
可是你看我的截图, 我只是把你贴出来的html存到文件里, 打开显示很正常啊.
from flask-paginate.
from flask-paginate.
像这样的? 这就是宽度不够导致的, 看截图不同的手机尺寸, 显示就不一样
from flask-paginate.
from flask-paginate.
这已经是自适应了吧
from flask-paginate.
from flask-paginate.
意思是根据宽度自动调整字体大小?
from flask-paginate.
from flask-paginate.
分页的html是已经生成的, 没办法知道设备尺寸, 而且这也不是它该做的事情, 它只是分页用的啊.
这个问题不是扩展的问题了, 就此结贴了.
你可以试试调整一下 inner_window
和 outer_window
的数字看看有没有改善. 但如果能改善也是治标不治本, 因为如果页数是个很大的数字时 比如第1234567
页, 也许两个就占满屏幕了.
from flask-paginate.
Related Issues (20)
- [Regression] AttributeError: 'Pagination' object has no attribute 'bs_version' HOT 2
- Paginate shows all results on the same page. HOT 2
- How add custom href for links? HOT 1
- Implement Custom CSS Style
- Adding pagination breaks dynamic update of checkbox status HOT 1
- Page # in pagination blocks stays at 1 when two pagination blocks are used HOT 2
- css_framework='boostrap3' or css_framework=''bootsrap4' or css_framework='bootstrap' and bs_version=4 not working HOT 2
- flask >= 3, from flask import Markup broken HOT 4
- Missing rel attributes for links HOT 5
- did't show pagination.links HOT 1
- Please add an init parameter to control the url generation behavior for page 1 and prev_page HOT 4
- quote url value of href attribute for bulma css HOT 2
- There is an error in "app.cfg.example" where there is a missing "sign" after records. HOT 1
- Example: No such command 'init_db' HOT 3
- Translate text shown in {{ pagination.info }} HOT 2
- paginate in bootstrap / prev, next btn class HOT 3
- Missing tag for 2021.10.29 release HOT 1
- Does it only work for python Sql module? HOT 2
- TestPagination.test_defaults fails HOT 2
- Missing tag for 2021.12.28 release HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-paginate.