CDLUC3 / data-curation

Exploratory project to Our goal is to catalog and evaluate datasets. We will determine ways to evaluate data files against the indicators above and offer solutions for increasing their quality. We aim to translate best practices into workflows that help with everyday use cases.
0 stars 0 forks source link

Layout changes in Gradio #31

Closed sfisher closed 1 month ago

sfisher commented 2 months ago

Steve wants the layout to be more compact.

The default styles push the columns down to the next row when it becomes too narrow (and it's quite aggressive about pushing things down).

He'd like to fit on the page better for screenshots.

I tried some css before which didn't seem to affect anything, but there must be ways.

I know that Automatic 1111 uses Gradio and also implements resizable columns between left and right side which may help with some problems since depending on what part you're looking at, you can size more appropriately.

sfisher commented 2 months ago

I've added accordions, figured out how to do some styling of buttons and other things so I think it fits better and things are smaller.

I couldn't get injected Javascript to do what I wanted to do with resizing columns but I think it's maybe not necessary now.