Skip to content

Commit 87059a9

Browse files
committed
feat(dialogs): adjust height of context menu in PopupDict and PopupTrans components
1 parent 1382d32 commit 87059a9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/components/dialogs/detailDialog/component.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ class DetailDialog extends React.Component<
5555
});
5656
};
5757
return (
58-
<div
59-
className="download-desk-container"
60-
style={{ color: this.state.textColor }}
61-
>
58+
<div className="download-desk-container">
6259
<div
6360
className="detail-dialog-book-info"
6461
style={{

src/components/popups/popupDict/component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ class PopupDict extends React.Component<PopupDictProps, PopupDictState> {
257257
onContextMenu={() => {
258258
handleContextMenu("trans-add-content-box");
259259
}}
260+
style={{ height: "170px" }}
260261
/>
261262
<div className="trans-add-button-container">
262263
<div

src/components/popups/popupTrans/component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ class PopupTrans extends React.Component<PopupTransProps, PopupTransState> {
198198
onContextMenu={() => {
199199
handleContextMenu("trans-add-content-box");
200200
}}
201+
style={{ height: "180px" }}
201202
/>
202203
<div className="trans-add-button-container">
203204
<div

0 commit comments

Comments
 (0)