Skip to content

Commit c492f35

Browse files
committed
modify: remove tooltip of 'more option' button
1 parent 40d7ba4 commit c492f35

5 files changed

Lines changed: 0 additions & 24 deletions

File tree

browser/main/Detail/MarkdownNoteDetail.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,6 @@ class MarkdownNoteDetail extends React.Component {
229229
onClick={(e) => this.handleContextButtonClick(e)}
230230
>
231231
<i className='fa fa-ellipsis-v' />
232-
<span styleName='info-right-button-tooltip'
233-
style={{right: 5}}
234-
>More Options</span>
235232
</button>
236233
</div>
237234
</div>

browser/main/Detail/MarkdownNoteDetail.styl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,5 @@ body[data-theme="dark"]
3939
border-color $ui-dark-borderColor
4040
&:active
4141
border-color $ui-dark-button--focus-borderColor
42-
&:hover .info-right-button-tooltip
43-
opacity 1
4442
&:focus
4543
border-color $ui-button--focus-borderColor
46-
47-
.info-right-button-tooltip
48-
darkTooltip()

browser/main/Detail/NoteDetailInfo.styl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,3 @@ $info-height = 60px
4545
opacity 1
4646
&:focus
4747
border-color $ui-button--focus-borderColor
48-
49-
.info-right-button-tooltip
50-
tooltip()
51-
position fixed
52-
top 45px
53-
padding 5px
54-
opacity 0
55-
border-radius 2px

browser/main/Detail/SnippetNoteDetail.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,6 @@ class SnippetNoteDetail extends React.Component {
537537
onClick={(e) => this.handleContextButtonClick(e)}
538538
>
539539
<i className='fa fa-ellipsis-v'/>
540-
<span styleName='info-right-button-tooltip'
541-
style={{right: 5}}
542-
>More Options</span>
543540
</button>
544541
</div>
545542
</div>

browser/main/Detail/SnippetNoteDetail.styl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,9 @@ body[data-theme="dark"]
8888
border-color $ui-dark-borderColor
8989
&:active
9090
border-color $ui-dark-button--focus-borderColor
91-
&:hover .info-right-button-tooltip
92-
opacity 1
9391
&:focus
9492
border-color $ui-button--focus-borderColor
9593

96-
.info-right-button-tooltip
97-
darkTooltip()
98-
9994
.body .description
10095
border-bottom-color $ui-dark-borderColor
10196

0 commit comments

Comments
 (0)