Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add 10% more horizontal space in columns of the file browser /dir page. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
0acb670e53d623410f35132b3f3a04e3 |
User & Date: | drh 2018-08-20 23:36:50.229 |
Context
2018-08-21
| ||
01:33 | Dynamic number of columns on the /help page, based on screen width ... (check-in: 1d495e89 user: drh tags: trunk) | |
2018-08-20
| ||
23:36 | Add 10% more horizontal space in columns of the file browser /dir page. ... (check-in: 0acb670e user: drh tags: trunk) | |
19:30 | For timeline graphs on narrow screens, set the rail pitch to its minimum value to conserve horizontal space. ... (check-in: e63da90d user: drh tags: trunk) | |
Changes
Changes to skins/default/css.txt.
︙ | ︙ | |||
80 81 82 83 84 85 86 | .mainmenu { font-size:.8em; clear:both; padding:10px; background:#eaeaea linear-gradient(#fafafa, #eaeaea) repeat-x; border:1px solid #eaeaea; border-radius:5px; | | | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | .mainmenu { font-size:.8em; clear:both; padding:10px; background:#eaeaea linear-gradient(#fafafa, #eaeaea) repeat-x; border:1px solid #eaeaea; border-radius:5px; overflow-x: auto; white-space: nowrap; } .mainmenu a { padding: 10px 20px; text-decoration:none; color: #777; |
︙ | ︙ |
Changes to src/browse.c.
︙ | ︙ | |||
267 268 269 270 271 272 273 | /* Generate a multi-column table listing the contents of zD[] ** directory. */ mxLen = db_int(12, "SELECT max(length(x)) FROM localfiles /*scan*/"); if( mxLen<12 ) mxLen = 12; db_prepare(&q, "SELECT x, u FROM localfiles ORDER BY x /*scan*/"); | | | 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | /* Generate a multi-column table listing the contents of zD[] ** directory. */ mxLen = db_int(12, "SELECT max(length(x)) FROM localfiles /*scan*/"); if( mxLen<12 ) mxLen = 12; db_prepare(&q, "SELECT x, u FROM localfiles ORDER BY x /*scan*/"); @ <div class="columns" style="column-width: %d(mxLen+(mxLen+9)/10)ex;"> @ <ul class="browser"> while( db_step(&q)==SQLITE_ROW ){ const char *zFN; zFN = db_column_text(&q, 0); if( zFN[0]=='/' ){ zFN++; @ <li class="dir">%z(href("%s%T",zSubdirLink,zFN))%h(zFN)</a></li> |
︙ | ︙ |