Adjusted article padding and corrected Row's buttons position (1465) (#1469)
* Adjusted article padding and corrected Row's buttons position. Fixes #1465 * Corrected name-input overlapping account's id when editing * Adjusted Row-buttons to keep bottom margin consistent and added name ellipsis. * Removed buttons height to prevent bottom div displacement. Adjusted text-wrap to work with spaces
This commit is contained in:
parent
75d66eb8ff
commit
27292b9794
@ -232,7 +232,7 @@ export default withMulti(
|
||||
.blockNumber {
|
||||
background: #3f3f3f;
|
||||
border-radius: 0.25rem;
|
||||
bottom: 0.75rem;
|
||||
top: 0rem;
|
||||
box-shadow: 0 3px 3px rgba(0,0,0,.2);
|
||||
color: #eee;
|
||||
font-size: 1.5rem;
|
||||
|
||||
@ -65,6 +65,7 @@ export const styles = `
|
||||
}
|
||||
|
||||
.ui--Row-balances {
|
||||
display: flex;
|
||||
.column {
|
||||
display: block;
|
||||
|
||||
@ -84,10 +85,12 @@ export const styles = `
|
||||
}
|
||||
|
||||
.ui--Row-buttons {
|
||||
position: absolute;
|
||||
right: 0.5rem;
|
||||
top: 0.5rem;
|
||||
position: relative;
|
||||
margin-right: -0.5rem;
|
||||
margin-top: -0.5rem;
|
||||
white-space: nowrap;
|
||||
height: 0rem;
|
||||
overflow: visible;
|
||||
|
||||
button.ui.button:last-child {
|
||||
margin-right: 0;
|
||||
@ -129,6 +132,7 @@ export const styles = `
|
||||
}
|
||||
|
||||
.ui--Row-address-or-name {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@ -137,7 +141,10 @@ export const styles = `
|
||||
white-space: normal;
|
||||
|
||||
.withName {
|
||||
white-space: nowrap;
|
||||
text-transform: uppercase;
|
||||
overflow: hidden;
|
||||
text-overflow: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@ -145,9 +152,9 @@ export const styles = `
|
||||
input {
|
||||
height: 1em;
|
||||
text-transform: uppercase;
|
||||
margin-top: -0.3em;
|
||||
margin-bottom: -0.35em;
|
||||
margin-top: -0.3em;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.ui--Row-tags {
|
||||
@ -302,8 +309,8 @@ class Row<P extends RowProps, S extends RowState> extends React.PureComponent<P,
|
||||
<>
|
||||
<span className='withName'>
|
||||
{name}
|
||||
{isEditable && this.renderEditIcon()}
|
||||
</span>
|
||||
{isEditable && this.renderEditIcon()}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@ -73,7 +73,7 @@ article {
|
||||
border-radius: 0.25rem;
|
||||
box-sizing: border-box;
|
||||
margin: 0.25rem;
|
||||
padding: 1.25rem 1.5rem;
|
||||
padding: 1.25rem;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user