mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 16:49:46 +08:00
Remove some global css, fix some styling issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -2,3 +2,7 @@
|
||||
composes: buttonReset from "coral-framework/styles/reset.css";
|
||||
margin: 5px 10px 5px 0px;
|
||||
}
|
||||
|
||||
.tagIcon {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
.root {
|
||||
vertical-align: middle;
|
||||
width: 1em;
|
||||
font-size: 1em;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user