[ckan-dev] Custom field or Text preview window scroll bar
Aaron McGlinchy
McGlinchyA at landcareresearch.co.nz
Thu Nov 27 21:03:34 UTC 2014
Not strictly linked to below, but a similar type of issue I've just noticed. A similar huge vertical record occurs when a user enters a lot of text into a custom field e.g. using for spatial
See http://demo.ckan.org/dataset/testopendata where someone has very neatly outlined an entire country, but the spatial field is huge and requires lots of vertical scrolling.
Should I raise an issue for this (and below separately?)?
------------------------------
Message: 2
Date: Mon, 22 Sep 2014 17:02:54 -0400
From: Dominik Moritz <dominik.moritz at okfn.org>
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: Re: [ckan-dev] Text file preview
Message-ID: <4192EA64-E987-4895-8458-F6F15AEC9E05 at okfn.org>
Content-Type: text/plain; charset="us-ascii"
You could limit the height in the css using max-height and overflow-y: scroll. It probably makes sense to add this to CKAN core, though.
On Sep 22, 2014, at 0:24, Aaron McGlinchy <McGlinchyA at landcareresearch.co.nz> wrote:
> Hi,
> If you upload a txt file, is it possible to specify how many lines of the file are displayed in the preview? If the txt file is very long, then it seems the entire file is shown and you have to scroll the 'full window' down to see the additional info/license ...
>
> The text preview does display a left/right scroll bar so if the file is very wide you scroll within the preview to see the right hand side, but the same is not true for a vertical scroll bar (ie the only vertical scroll bar is the one controlling the entire page).
>
> I hope this makes sense.
>
> Thanks
> Aaron
>
________________________________
Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
More information about the ckan-dev
mailing list