Long names now overflow

This commit is contained in:
Kenneth Jao 2024-10-24 00:37:25 -04:00
parent c47270a860
commit 1a235f1893
2 changed files with 22 additions and 7 deletions

View File

@ -36,3 +36,7 @@ with details kept largely the same.
2. Move the `fancy-pages` folder to the same folder level as your serving location. For example, 2. Move the `fancy-pages` folder to the same folder level as your serving location. For example,
if your location directive is `/mydatabase`, the theme should be located `/fancy-pages`. if your location directive is `/mydatabase`, the theme should be located `/fancy-pages`.
3. Restart or reload nginx. 3. Restart or reload nginx.
## Options
It's possible to 'titleize' the current path, which removes underscores and capitalizes
words properly. This is disabled by default, but can be enabled in `js/script.js`.

View File

@ -385,11 +385,9 @@ footer#section-footer .row {
padding-bottom: 6px; padding-bottom: 6px;
} }
/* reduce icon width */
table#list tr th.indexcolicon, table#list tr {
table#list tr td.indexcolicon { position: relative;
max-width: 35px;
width: 35px;
} }
table#list thead th:nth-child(1), table#list thead th:nth-child(1),
@ -438,11 +436,24 @@ footer#section-footer .row {
padding: 0; padding: 0;
padding-right: 6px !important; padding-right: 6px !important;
padding-bottom: 8px !important; padding-bottom: 8px !important;
margin-top: -0.4rem; position: absolute;
top: 1.8rem;
}
table#list tr td:nth-child(1) {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 90vw;
height: 2.5rem;
} }
table#list tr td:nth-child(2) { table#list tr td:nth-child(2) {
margin-left: 2.2rem; left: 2.25rem;
}
table#list tr td:nth-child(3) {
right: 0rem;
} }
h1 { h1 {