Skip to main content

A Datasette plugin that adds a fixed horizontal scrollbar at the bottom of the viewport for wide result tables.

Project description

datasette-horizontal-scroll

PyPI Changelog Tests License

A Datasette plugin that adds a fixed horizontal scrollbar at the bottom of the viewport when a visible results table is wider than the screen. This makes it easier to horizontally navigate wide tables without needing to hit the native scrollbar on the table itself.

View port with horizontal scroll

Installation

Install this plugin in the same environment as Datasette:

datasette install datasette-horizontal-scroll

This plugin depends on Datasette 0.58+ (it uses datasette.urls.static_plugins() for serving static assets).

Usage

Install the plugin and reload Datasette. On table, query, database, and row views, a bottom-of-viewport scrollbar will appear when the active table overflows horizontally.

This plugin serves its assets as packaged static files (CSS/JS) under Datasette's /-/static-plugins/ mechanism.

Development

Clone the repository and run the tests:

pip install -e ".[dev]"
pytest

If you use uv, you can equivalently run:

uv run pytest

Releasing / publishing to PyPI

This repository includes a GitHub Actions workflow that can publish releases to PyPI using Trusted Publishing.

Typical release flow:

  1. Bump the version in pyproject.toml
  2. Create and push a git tag (for example: v0.1)
  3. Create a GitHub Release for that tag (the publish workflow is triggered on release: published)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette_horizontal_scroll-0.1.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_horizontal_scroll-0.1.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file datasette_horizontal_scroll-0.1.1.tar.gz.

File metadata

File hashes

Hashes for datasette_horizontal_scroll-0.1.1.tar.gz
Algorithm Hash digest
SHA256 629426781096c821923d4425a2b153b13969cd467581c80b7e05928026d2ad5f
MD5 b90227cc12208be0b27b86ece9aa6359
BLAKE2b-256 beb5c48d5791ff157ccfa1577cef232fa9b9b7c2255616bc3f6aebd202f1e2f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_horizontal_scroll-0.1.1.tar.gz:

Publisher: publish.yml on chimpy-me/datasette-horizontal-scroll

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_horizontal_scroll-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_horizontal_scroll-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b45a9477ad183dd220bb27a2305a95d3199a38aafac702309d5d458959fee395
MD5 54a106e96725b42392eb141edbd1bd83
BLAKE2b-256 c7fddc1994b6f08d0fbd229fa4d7910909f3d444a7b969cb47c5e8d48b02b1e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_horizontal_scroll-0.1.1-py3-none-any.whl:

Publisher: publish.yml on chimpy-me/datasette-horizontal-scroll

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page