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

Fix horizontal scroll bug #534

Merged
merged 2 commits into from
May 5, 2020
Merged

Fix horizontal scroll bug #534

merged 2 commits into from
May 5, 2020

Conversation

keller-mark
Copy link
Member

In manual testing of the latest demo, I realized that the "33 genes" subtitle of the Expression Levels box now overflows and produces an ugly horizontal scrollbar (at least on smaller screens). I had fixed this in the metadata tables commit here but now that we are waiting to merge that, I had to make a separate one-line fix in a this PR.

Screen Shot 2020-05-05 at 3 55 21 PM

@keller-mark
Copy link
Member Author

Note that this does hide the "x" button until the .title element is made wide enough, but I think that is better than the scroll bar.

Copy link
Member

@manzt manzt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a reasonable fix given the limited space. Although the hiding of the x is not ideal, I agree its better then having a horizontal scroll bar. Perhaps we will settle on a more "compact" theme in the future, and place the subheading under the title.

@keller-mark keller-mark merged commit 6cd18b1 into dev May 5, 2020
@keller-mark keller-mark deleted the keller-mark/fix-h-scroll-bug branch May 5, 2020 20:16
keller-mark added a commit that referenced this pull request May 5, 2020
* Change rectangle selection to dragging (#520)

* Update to new raster schema and add multi-image demo (#515)

* Add Material UI Icons

* Change `Channels` component to `LayerController`

* Use raster schema v0.0.1

* Migrate to functional subscribers and allow for multiple layers

* Reduce size of PubSub `LAYER_CHANGE` events

* Memoize derived data in Subscribers

* Change Linnarsson static layout

* Add a higlass component (#523)

* Initial higlass commit

* Update styles, use onReady function

* Update (#482)

* Change height calculation

* Changelog

* Lazy load higlass component

* Lint

* Minor update

* Merge

* Clean up higlass integration, update styles, move higlass viewconfig into vitessce viewconfig

* Whitespace

* Styles

* Comments

* Remove bootstrap

* Remove more bootstrap

* Update src/components/higlass/HiGlassSubscriber.js

Co-authored-by: Trevor Manz <trevor.j.manz@gmail.com>

* Lint

* Clean up css

* Clean up css again

* Remove weird line height value

* Figure out react.lazy

Co-authored-by: Sehi L'Yi <sehi_lyi@hms.harvard.edu>
Co-authored-by: Trevor Manz <trevor.j.manz@gmail.com>

* 0.1.1

* Revert "0.1.1"

This reverts commit 88eb6a0.

* Clear rectangle or lasso selection on click (#530)

* Handle clicks during rectangle and lasso

* Use constants for edit types rather than strings/nulls

* viv 0.2.2 (#531)

* Upgrade viv to 0.2.2

* Changelog

* Changelog version

* 0.1.1

* Changelog

* Changelog

* Fix horizontal scroll bug (#534)

* Fix horizontal scroll bug

* Changelog

* Update CHANGELOG.md

Co-authored-by: Trevor Manz <trevor.j.manz@gmail.com>
Co-authored-by: Sehi L'Yi <sehi_lyi@hms.harvard.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants