Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | CSS workaround for centering pikchrs in Chrome. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
d825fcc11a5acee4bb18bf2bd4230227 |
| User & Date: | stephan 2020-09-18 17:43:37.032 |
Context
|
2020-09-18
| ||
| 19:06 | Reimplemented pikchr show/hide entirely in CSS, so it's now controlled by toggling the 'source' class on the outermost DIV element. Less JS and easier to implement in 3rd-party pikchr clients. ... (check-in: 947c039073 user: stephan tags: trunk) | |
| 17:43 | CSS workaround for centering pikchrs in Chrome. ... (check-in: d825fcc11a user: stephan tags: trunk) | |
| 16:58 | Update the built-in pikchr.c and SQLite to the latest from both trees. ... (check-in: c3de0a9930 user: drh tags: trunk) | |
Changes
Changes to src/default.css.
| ︙ | ︙ | |||
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 |
pre.pikchr-src {/*source code view for a pikchr (see fossil.pikchr.js)*/
box-sizing: border-box;
overflow: auto;
text-align: left;
}
div.pikchr-wrapper.center {
text-align: center;
}
div.pikchr-wrapper.center > pre.pikchr-src,
div.pikchr-wrapper.center > div.pikchr-svg{
display:inline-block;
}
| > > > | 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 |
pre.pikchr-src {/*source code view for a pikchr (see fossil.pikchr.js)*/
box-sizing: border-box;
overflow: auto;
text-align: left;
}
div.pikchr-wrapper.center {
text-align: center;
}
div.pikchr-wrapper.center > div.pikchr-svg {
width: 100%/*necessary for Chrome!*/;
}
div.pikchr-wrapper.center > pre.pikchr-src,
div.pikchr-wrapper.center > div.pikchr-svg{
display:inline-block;
}
|