-
Notifications
You must be signed in to change notification settings - Fork 231
[WIP] improve service traffic table on mobile #1042
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
Merged
openshift-bot
merged 1 commit into
openshift:master
from
juanvallejo:jvallejo/fix-service-page-mobile
Dec 19, 2016
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1208,4 +1208,4 @@ copy-to-clipboard .input-group.limit-width { | |
.col-xxs-12 { | ||
width: 100%; | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@spadgett The reason why the double border occurs at the top of the table, is because I am "nesting" two
ng-repeat
s using siblingtbody
elements. Although the first one is hidden withdisplay: none
, it is causing the second one to have a2px
border when it otherwise would not due to it normally being the firsttbody
element.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.
A solution would be to add the
2px
top border totbody > tr + tr
instead. That way, we could also keep theng-repeat
in thetr
element, and update thepods-table
directive androutes.html
to do this as well.cc @jwforres
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 we have the 2px border on other responsive tables. Can you check? If so, let's open a separate issue to fix them all.
cc @rhamilto @sg00dwin
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.
@spadgett
It seems we do have a 2px border on the
pods-table
as well as the routes table but it appears to come from the table's top border rather than thetbody
. In thetraffic-table
, the table's top border is adding2px
, and an additional2px
are getting added by the first visibletbody
due to the hiddentbody
right before it.I can go ahead and open an issue to address this by repeating the
tr
tag rather than thetbody
, and apply this change to the pods and routes table as well.EDIT: although the above suggestion solves repeating
tbody
tags, I do not believe it will solve the4px
body whenever a table deals with nested ng loops. We could have a specific rule for that table in_core.less
to address this.