-
Notifications
You must be signed in to change notification settings - Fork 44
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
FXD-1214 fix(css): css refactor 4/4 #330
Conversation
8a1e1f4
to
f844345
Compare
07b9be5
to
e7d05c6
Compare
src/QueryNode/QueryNode.less
Outdated
@@ -0,0 +1,52 @@ | |||
.query-node__search-button { |
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 this class or the other query-node__search-button
classes used anywhere?
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 git is doing bad job at merging...previous code missing T.T
src/QueryNode/QueryNode.less
Outdated
color: #2B547E; | ||
} | ||
|
||
.query-node__input { |
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.
same here and with query-node__select
src/QueryNode/QueryNode.jsx
Outdated
@@ -1,36 +1,11 @@ | |||
import React from 'react'; | |||
import { Link } from 'react-router-dom'; | |||
import styled, { css } from 'styled-components'; | |||
import Select from 'react-select'; |
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 this import used?
src/components/CheckBox.less
Outdated
border-bottom: 0; | ||
} | ||
|
||
.checkbox-label { |
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 is also picky but can it be .checkbox__label
? Just because the whole thing seems like a checkbox and then the label is just part of it... this also might be a crazy request feel free to ignore/argue with me 🤪
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.
typo....
src/components/CheckBox.less
Outdated
max-width: 12vw; | ||
overflow: hidden; | ||
padding: 0px 0.25rem; | ||
margin-left: 3px 3px 3px 0.3rem; |
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 know this is what the original css looked like but what is up with these mixed units 😂
src/components/Popup.less
Outdated
height: 70px; | ||
line-height: 70px; | ||
padding: 0px 30px; | ||
background: #3283c8; |
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.
@blue
src/components/Popup.less
Outdated
|
||
.popup__message { | ||
font-size: 1em; | ||
background: mid_light_gray; |
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 don't think this is a valid color
src/components/SelectComponent.less
Outdated
} | ||
|
||
.selection__title { | ||
vertical-align: middle; |
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 this is redundant
src/components/SelectComponent.less
Outdated
|
||
.selection__select { | ||
display: inline-block; | ||
vertical-align: middle; |
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.
maybe same here?
@@ -37,6 +37,7 @@ IconicLink.propTypes = { | |||
iconColor: PropTypes.string, | |||
caption: PropTypes.string, | |||
buttonClassName: PropTypes.string, |
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.
do we need button class name and class name?
78ba3f2
to
d3d6a43
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.
I think the folder restructuring broke some Storybook links.
The select component for the old Explorer table (at the bottom) and the input for "browsing nodes" also looks off from master.
@@ -36,15 +36,17 @@ IconicLink.propTypes = { | |||
icon: PropTypes.string, | |||
iconColor: PropTypes.string, | |||
caption: PropTypes.string, | |||
buttonClassName: PropTypes.string, | |||
orangeButton: PropTypes.bool, |
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 don't think we want this to be a prop type because it's not very reusable... why not keep the original buttonClassName
and pass it either 'button-primary-orange' or 'button-primary-white' ?
<Input placeholder='submitter_id' type='text' name='submitter_id' /> | ||
<SearchButton type='submit' onSubmit={this.handleQuerySubmit} value='search' /> | ||
<Select className='query-form__select' name='node_type' options={options} value={state.selectValue} onChange={this.updateValue} /> | ||
<input className='query-form__input' placeholder='submitter_id' type='text' name='submitter_id' /> |
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 this styling is missing - the input field looks unstyled
d61cf88
to
9668643
Compare
Fixed some style mismatch, remove styled component from theme.js, also change back to keep |
9c755c5
to
1f670d4
Compare
No description provided.