mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 09:38:11 +08:00
fix font size
This commit is contained in:
@@ -143,7 +143,7 @@ class Category extends React.Component {
|
|||||||
<input disabled id={checkboxID} checked type="checkbox" />
|
<input disabled id={checkboxID} checked type="checkbox" />
|
||||||
<span className="bp3-control-indicator" />
|
<span className="bp3-control-indicator" />
|
||||||
</label>
|
</label>
|
||||||
<Truncate fontSize={12} size={this._labelWidth}>
|
<Truncate fontSize={14} size={this._labelWidth}>
|
||||||
<span
|
<span
|
||||||
style={{
|
style={{
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
@@ -194,10 +194,10 @@ class Category extends React.Component {
|
|||||||
) {
|
) {
|
||||||
return (
|
return (
|
||||||
<div style={{ marginBottom: 10, marginTop: 4 }}>
|
<div style={{ marginBottom: 10, marginTop: 4 }}>
|
||||||
<Truncate size={150} fontSize={12} bold>
|
<Truncate size={150} fontSize={14} bold>
|
||||||
<span style={{ fontWeight: 700 }}>{metadataField}</span>
|
<span style={{ fontWeight: 700 }}>{metadataField}</span>
|
||||||
</Truncate>
|
</Truncate>
|
||||||
<Truncate size={150} fontSize={12}>
|
<Truncate size={150} fontSize={14}>
|
||||||
<span>
|
<span>
|
||||||
{`: ${schema.annotations.obsByName[metadataField].categories[0]}`}
|
{`: ${schema.annotations.obsByName[metadataField].categories[0]}`}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ class CategoryValue extends React.Component {
|
|||||||
onMouseLeave={this.handleMouseEnter}
|
onMouseLeave={this.handleMouseEnter}
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<Truncate size={labelWidth} fontSize={12}>
|
<Truncate size={labelWidth} fontSize={14}>
|
||||||
<span
|
<span
|
||||||
data-testid={`categorical-value-${metadataField}-${displayString}`}
|
data-testid={`categorical-value-${metadataField}-${displayString}`}
|
||||||
data-testclass="categorical-value"
|
data-testclass="categorical-value"
|
||||||
@@ -396,6 +396,7 @@ class CategoryValue extends React.Component {
|
|||||||
? "italic"
|
? "italic"
|
||||||
: "normal",
|
: "normal",
|
||||||
display: "inline-block",
|
display: "inline-block",
|
||||||
|
border: "solid black 1px",
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
lineHeight: "1.1em",
|
lineHeight: "1.1em",
|
||||||
height: "1.1em",
|
height: "1.1em",
|
||||||
|
|||||||
Reference in New Issue
Block a user