Fix IconButton centering issues
This commit is contained in:
parent
55c958c7ad
commit
97ba4b005d
|
@ -76,7 +76,7 @@ class SoapboxMount extends React.PureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.dispatch(generateTheme('#1ca82b', 'light'));
|
this.props.dispatch(generateTheme('#0482d8', 'light'));
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|
|
@ -127,12 +127,6 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color 100ms ease-in;
|
transition: color 100ms ease-in;
|
||||||
|
|
||||||
> div {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
i.fa {
|
i.fa {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,6 +103,10 @@
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
line-height: 31px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button { margin-right: 10px; }
|
.button { margin-right: 10px; }
|
||||||
|
|
Loading…
Reference in New Issue