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
Center the placement of dropdown toggle-icon on the metrics time selection #2997
Center the placement of dropdown toggle-icon on the metrics time selection #2997
Conversation
@@ -148,6 +148,10 @@ h6 { | |||
color: var(--pf-c-button--m-plain--Color); | |||
} | |||
|
|||
.pf-c-dropdown__toggle.query-browser__span-dropdown-button .pf-c-dropdown__toggle-icon { |
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 selector is incredibly specific, so we'll have this same bug any time a similar component combo is used.
This seems like an upstream bug, no?
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.
Well I don't think so, I think the larger issue is we're using a PF4 <TextInput>
along with our custom <Dropdown>
that has no text (the default margin is to separate that text from pf-c-dropdown__toggle-icon
). It seems this should be a PF4 <Select>
I could make it reduce specificity some and !important
to give priority?
.query-browser__span-dropdown-button .pf-c-dropdown__toggle-icon {
margin-left: 6px !important;
}
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.
Now I see that wouldn't work, since the reason they are using a <TextInput>
is so custom values can be used
31bc6c0
to
3364b62
Compare
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, sg00dwin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/refresh |
https://jira.coreos.com/browse/CONSOLE-1838