fix styling of clearButton when its not there

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2018-06-14 11:36:04 +01:00
parent 75abb415d4
commit c811c30c0d
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,7 @@ limitations under the License.
justify-content: space-between;
}
.mx_TagPanel .mx_TagPanel_clearButton {
.mx_TagPanel .mx_TagPanel_clearButton_container {
/* Constant height within flex mx_TagPanel */
height: 70px;
width: 60px;

View File

@ -127,7 +127,9 @@ const TagPanel = React.createClass({
}
return <div className="mx_TagPanel">
{ clearButton }
<div className="mx_TagPanel_clearButton_container">
{ clearButton }
</div>
<div className="mx_TagPanel_divider" />
<GeminiScrollbarWrapper
className="mx_TagPanel_scroller"