-
Notifications
You must be signed in to change notification settings - Fork 26
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
Gallery dataset redesign #2761
Gallery dataset redesign #2761
Conversation
…ebknossos into gallery-dataset-redesign
…re still unsupported
…css properties that were added before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The responsive design works very well 👍 Unfortunately, the right hand side of the cards does not render properly for me (chrome & firefox). It looks like this for me:
The horizontal scrollbar shouldn't be there and the text is a bit scrambled. Does it work for your computer @MichaelBuessemeyer ? Maybe you forgot to push some changes?
Also, you need to update the snapshots since you changed the dashboard. You can read this wiki section for details. Just ask me if you have questions! However, you can wait with this until everything else is resolved :)
@@ -158,3 +162,7 @@ const mapStateToProps = (state: OxalisState): StateProps => ({ | |||
}); | |||
|
|||
export default connect(mapStateToProps)(GalleryDatasetView); | |||
|
|||
// TODO: mit mediaquery bei kleinen Bildschirmen: display: block; und breite beider spans auf 100% setzen !!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's up with this todo? :) Still relevant?
background: rgba(0, 0, 0, 0.8); | ||
display: inline-block; | ||
.spotlight-item-card { | ||
height: 300px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the height 300px when we request a height of 400px from the server? Shouldn't we request 300px then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because if the width is below 600px the thumbnails is displayed in full width. If you subtract padding and all you get a max width of 512px that is about 500px.
} | ||
} | ||
|
||
.dataset-description-body{ //TODO set the hight of the body correct and let it appear below the heading/title |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the todo resolved?
|
||
|
||
.dataset-thumbnail { | ||
height: 100%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation is a bit off here. If you use sublime, the package JsPrettier should also format less files for you if you want to save yourself some trouble :)
…ebknossos into gallery-dataset-redesign
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, works well for me 👍
Mailable description of changes:
URL of deployed dev instance (used for testing):
Steps to test:
Issues: