Skip to content

Commit

Permalink
1. hide the download html button on footer
Browse files Browse the repository at this point in the history
2. hide the detach window button on footer. detach window has bug, should be fixed when open it.
  • Loading branch information
hanzhenfeng authored and MrCoder committed Nov 2, 2022
1 parent e4df86f commit 557c675
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export default class Footer extends Component {

<div class="footer__right">
<button
style="display: none;"
onClick={this.props.saveHtmlBtnClickHandler}
id="saveHtmlBtn"
class="mode-btn hint--rounded hint--top-left hide-on-mobile"
Expand Down Expand Up @@ -236,7 +237,7 @@ export default class Footer extends Component {
</svg>
</button>

<div class="footer__separator hide-on-mobile" />
<div style="display: none;" class="footer__separator hide-on-mobile" />

<button
onClick={this.layoutBtnClickhandler.bind(this, 1)}
Expand Down Expand Up @@ -291,6 +292,7 @@ export default class Footer extends Component {
</svg>
</button>
<button
style="display:none;"
class="mode-btn hint--top-left hint--rounded hide-on-mobile"
aria-label="Detach Preview"
onClick={this.props.detachedPreviewBtnHandler}
Expand Down

0 comments on commit 557c675

Please sign in to comment.