Skip to content
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

PXD-1310 Fix/css refactor 3 #327

Merged
merged 9 commits into from
Aug 7, 2018
Merged

PXD-1310 Fix/css refactor 3 #327

merged 9 commits into from
Aug 7, 2018

Conversation

qingyashu
Copy link
Contributor

No description provided.


.submit-form__label {
margin: 3px;
display:inline-block;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

picky - spacing. going to add a csslinter soon! 🤪

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!


.submit-form__input-description {
font-size: 1rem;
display:inline-block;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing


.submit-form__input {
width: 400px;
height:40px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing

}

.submit-form__sub-props {
margin-left:50px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing

.submit-form__select {
width: 40%;
margin-right: 1em;
display:inline-block;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing

@@ -0,0 +1,11 @@
.access-table .base-table__cell:nth-child(1),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just do a generic text-align: left ? I think there's only two columns

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree!!! 😂

@@ -0,0 +1,6 @@
.key-table .base-table__cell:nth-child(1),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here about text-align: left for all

overflow: auto;
margin: 1em 0em;
text-align:center;
width:100%;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line and line above - spacing

width:100%;
}

.base-table__head {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the same as .base-table__foot

}
</TRow>
);
<tr className="base-table__row base-table__row--strip-color">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think this should be .base-table__row--stripe-color

Copy link
Contributor

@abgeorge7 abgeorge7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The succeeded/failed column in the transaction table needs some changes

@@ -0,0 +1,12 @@
.transaction-log-table__status-bar {
font-size: 16px;
text-align: left;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only applying to Succeeded states:
screen shot 2018-08-06 at 10 27 21 am

}

.transaction-log-table__status-bar--fail {
color: #ff2200;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also it doesn't look like the color is being applied to the text

@qingyashu qingyashu force-pushed the fix/css-refactor-3 branch from 9bd530c to 78d01c4 Compare August 7, 2018 20:39
Copy link
Contributor

@abgeorge7 abgeorge7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really tiny things

@@ -97,7 +97,6 @@
}

.explorer-table__table-data--foot-cell {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this if it's empty?

return (
<div>
<h6 className='submit-form__name'>{name}:</h6>
{required && <span className='submit-form__required-notification'> {'*'} </span>}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this className and the others in the file should be any-of-input__.... right?

text-align: left;
}

// TBD: refactoring WIG
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what this comment means

@@ -28,11 +15,11 @@ class TransactionLogTable extends Component {
};

stateToColor = state => (state === 'SUCCEEDED' &&
<StatusBar className='special-number'>{formatText(state)}</StatusBar>)
<div className='form-special-number transaction-log-table__status-bar'>{formatText(state)}</div>)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is 'form-special-number' ? I thought it was just 'special-number'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be 'form-special-number', spec confirmed, previous classname must be typo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh okay I didn't see form-special-number in our base.less 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants