Skip to content

Commit

Permalink
Set explicit font size for experimental icons
Browse files Browse the repository at this point in the history
Instead of inheriting from parent which can vary.
  • Loading branch information
victorlin committed Oct 23, 2024
1 parent 7a19676 commit af09673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/controls/choose-explode-attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ChooseExplodeAttr extends React.Component {
<div style={{paddingTop: 10}}>
<SidebarSubtitleFlex data-tip data-for="explode_tree">
<span style={{ position: "relative" }}>
<ImLab style={{ position: "absolute", left: "-14px", top: "1px" }}/>
<ImLab style={{ position: "absolute", left: "-14px", top: "2px", fontSize: "10px" }}/>
{t("sidebar:Explode Tree By")}
</span>
{tooltip && !this.props.mobileDisplay && (
Expand Down
1 change: 1 addition & 0 deletions src/components/controls/toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const ToggleSubtitle = styled(SidebarSubtitle)`

const ExperimentalIcon = styled.span`
color: ${(props) => props.theme.color};
font-size: 10px;
position: absolute;
left: -12px;
top: 6px;
Expand Down

0 comments on commit af09673

Please sign in to comment.