Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add white-space: pre-wrap to SQL create statement #505

Closed
simonw opened this issue Jun 8, 2019 · 0 comments
Closed

Add white-space: pre-wrap to SQL create statement #505

simonw opened this issue Jun 8, 2019 · 0 comments
Assignees
Labels
minor Minor bugs (not high priority) small

Comments

@simonw
Copy link
Owner

simonw commented Jun 8, 2019

Right now a super-long CREATE TABLE statement causes the table page to be even wider than the table itself:

many-photos-tables__RKMaster__1_row_where_where_modelId___18479_and_New_Issue_·_simonw_datasette_and_many-photos-tables__RKPlace__1_274_rows

Adding white-space: pre-wrap to that <pre> element is an easy fix:

many-photos-tables__RKMaster__28_260_rows_and_New_Issue_·_simonw_datasette

@simonw simonw added small minor Minor bugs (not high priority) labels Jun 8, 2019
@simonw simonw self-assigned this Jun 24, 2019
@simonw simonw added this to the Datasette 0.29 milestone Jul 7, 2019
@simonw simonw closed this as completed in 787dd42 Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Minor bugs (not high priority) small
Projects
None yet
Development

No branches or pull requests

1 participant