Skip to content

Commit f5cf944

Browse files
Fix for issue #398
1 parent bc3baf5 commit f5cf944

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/controls/placeholder/PlaceholderComponent.module.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~office-ui-fabric-react/dist/sass/References.scss';
2+
13
.placeholder {
24
display: -webkit-box;
35
display: -ms-flexbox;
@@ -26,13 +28,18 @@
2628
display: inline-block;
2729
vertical-align: middle;
2830
white-space: normal;
31+
32+
@include ms-fontSize-su;
2933
}
3034

3135
.placeholderText {
3236
display: inline;
3337
vertical-align: middle;
3438
white-space: normal;
3539

40+
@include ms-fontWeight-light;
41+
@include ms-fontSize-xxl;
42+
3643
&.hide {
3744
display: none;
3845
}

src/controls/placeholder/PlaceholderComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ export class Placeholder extends React.Component<IPlaceholderProps, IPlaceholder
9090
<div className={styles.placeholderHead}>
9191
<div className={styles.placeholderHeadContainer}>
9292
{
93-
this.props.iconName && <Icon iconName={this.props.iconName} className={`${styles.placeholderIcon} ms-fontSize-su ms-Icon`} />
93+
this.props.iconName && <Icon iconName={this.props.iconName} className={styles.placeholderIcon} />
9494
}
95-
<span className={`${styles.placeholderText} ms-fontWeight-light ms-fontSize-xxl ${(this.state.width && this.state.width <= 380) ? styles.hide : "" }`}>{this.props.iconText}</span>
95+
<span className={`${styles.placeholderText} ${(this.state.width && this.state.width <= 380) ? styles.hide : "" }`}>{this.props.iconText}</span>
9696
</div>
9797
</div>
9898
<div className={styles.placeholderDescription}>

0 commit comments

Comments
 (0)