Remove some global css, fix some styling issues

This commit is contained in:
Chi Vinh Le
2017-07-13 20:47:30 +07:00
parent c59c09e1f4
commit 1280b16bcd
6 changed files with 18 additions and 14 deletions
@@ -22,5 +22,8 @@
}
.tabContainer {
position: relative;
margin-top: 28px;
padding-bottom: 50px;
min-height: 600px;
}
@@ -21,18 +21,6 @@ body {
padding: 4px;
}
.talk-stream-tab-container {
padding-bottom: 50px;
min-height: 600px;
}
.talk-stream-tab-container .material-icons {
vertical-align: middle;
width: 1em;
font-size: 1em;
overflow: hidden;
}
.expandForSignin {
min-height: 600px;
}
+4
View File
@@ -2,3 +2,7 @@
composes: buttonReset from "coral-framework/styles/reset.css";
margin: 5px 10px 5px 0px;
}
.tagIcon {
font-size: 12px;
}
+1 -1
View File
@@ -18,7 +18,7 @@ const canModifyBestTag = ({roles = []} = {}) => roles && ['ADMIN', 'MODERATOR'].
// Put this on a comment to show that it is best
export const BestIndicator = ({children = <Icon name='star'/>}) => (
export const BestIndicator = ({children = <Icon name='star' className={styles.tagIcon} />}) => (
<span aria-label={t('comment_is_best')}>
{ children }
</span>
+7
View File
@@ -0,0 +1,7 @@
.root {
vertical-align: middle;
width: 1em;
font-size: 1em;
overflow: hidden;
}
+3 -1
View File
@@ -1,8 +1,10 @@
import React, {PropTypes} from 'react';
import {Icon as IconMDL} from 'react-mdl';
import cn from 'classnames';
import styles from './Icon.css';
const Icon = ({className = '', name}) => (
<IconMDL className={className} name={name} />
<IconMDL className={cn(styles.root, className)} name={name} />
);
Icon.propTypes = {