-
Notifications
You must be signed in to change notification settings - Fork 7
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
Flexibus/#379/teams view as tiles #401
Conversation
@@ -0,0 +1,49 @@ | |||
@media screen and (min-width : 800px) { | |||
.tile-wrapper { | |||
display: grid; |
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.
How do we handle browser support? See https://caniuse.com/#feat=css-grid
Do we have a fallback to flexbox or something similar?
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.
Grid is not compatible with Opera Mini and UC Browser for Android. All major browsers support it. So I guess we're fine :).
@@ -0,0 +1,11 @@ | |||
<div onclick="location.href='<%= destination_path%>';" class="tile"> |
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.
This won't work if Javascript is disabled in the Browser. Could use an <a>
Tag with absolute positioning to achieve the same result.
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.
I think many features are dependent of JS already ;). Nonetheless I changed it, good point. Could you accept?
Closes #379.