-
-
- this.handleUndoButtonClick(e)}
- />
-
-
+
this.handleUndoButtonClick(e)}
+ />
this.handleTrashButtonClick(e)} />
@@ -589,7 +585,7 @@ class SnippetNoteDetail extends React.Component {
this.handleInfoButtonClick(e)}
diff --git a/browser/main/Detail/TagSelect.styl b/browser/main/Detail/TagSelect.styl
index e7974d141..06958a823 100644
--- a/browser/main/Detail/TagSelect.styl
+++ b/browser/main/Detail/TagSelect.styl
@@ -1,8 +1,7 @@
.root
display inline-block
- top 19px
user-select none
- height 26px
+ height 23px
vertical-align middle
width 300px
overflow-x scroll
diff --git a/browser/main/Detail/TrashButton.js b/browser/main/Detail/TrashButton.js
index fb89465c2..04dcaacd4 100644
--- a/browser/main/Detail/TrashButton.js
+++ b/browser/main/Detail/TrashButton.js
@@ -8,15 +8,7 @@ const TrashButton = ({
)
diff --git a/browser/main/Detail/TrashButton.styl b/browser/main/Detail/TrashButton.styl
index a26095c48..1d7d3addf 100644
--- a/browser/main/Detail/TrashButton.styl
+++ b/browser/main/Detail/TrashButton.styl
@@ -2,6 +2,10 @@
float right
topBarButtonLight()
+.trashButton
+ padding 0px
+ margin 15px 0
+
body[data-theme="dark"]
.control-trashButton
topBarButtonDark()
diff --git a/browser/main/SideNav/StorageItem.styl b/browser/main/SideNav/StorageItem.styl
index abd291e4f..af3ff0ef0 100644
--- a/browser/main/SideNav/StorageItem.styl
+++ b/browser/main/SideNav/StorageItem.styl
@@ -1,6 +1,7 @@
.root
width 100%
user-select none
+ padding-top 20px
.header
position relative
diff --git a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modals/PreferencesModal/InfoTab.js
index 14d39598a..0d3de98a4 100644
--- a/browser/main/modals/PreferencesModal/InfoTab.js
+++ b/browser/main/modals/PreferencesModal/InfoTab.js
@@ -96,16 +96,16 @@ class InfoTab extends React.Component {
Data collection policy
- We collect only the number of users on Boostnote for DAU and any detail information
- such as a note's content or title is not collected.
- You can see how it works on GitHub
+ We collect only the number of DAU for Boostnote and DO NOT COLLECTED any detail information
+ such as your note content. You can see how it works on this.handleLinkClick(e)}>GitHub.
+ These data are only used for Boostnote improvements.
this.handleConfigChange(e)}
checked={this.state.config.amaEnabled}
ref='amaEnabled'
type='checkbox'
/>
Enable to send analytics to our servers
-
+
)
}
diff --git a/browser/main/modals/PreferencesModal/InfoTab.styl b/browser/main/modals/PreferencesModal/InfoTab.styl
index 7279fffd1..6158c634d 100644
--- a/browser/main/modals/PreferencesModal/InfoTab.styl
+++ b/browser/main/modals/PreferencesModal/InfoTab.styl
@@ -44,6 +44,10 @@
.policy
font-size 20px
+ margin-bottom 10px
+
+.policy-submit
+ margin-top 10px
body[data-theme="dark"]
.root
diff --git a/browser/styles/index.styl b/browser/styles/index.styl
index 16c6ccb2f..d85305123 100644
--- a/browser/styles/index.styl
+++ b/browser/styles/index.styl
@@ -157,6 +157,9 @@ modal()
topBarButtonLight()
width 34px
+ display flex
+ align-items center
+ justify-content center
height 34px
border-radius 17px
font-size 14px
@@ -168,7 +171,7 @@ topBarButtonLight()
&:active
border-color $ui-button--active-backgroundColor
&:hover
- background-color $ui-button--hover-backgroundColor
+ background-color alpha($ui-button--hover-backgroundColor, 60%)
.control-lockButton-tooltip
opacity 1
@@ -231,10 +234,12 @@ topBarButtonDark()
color $ui-dark-topbar-button-color
&:hover
background-color $dark-default-button-background--hover
+ color $ui-dark-tooltip-text-color
&:active
border-color $ui-dark-button--focus-borderColor
&:active:hover
background-color $ui-dark-button--active-backgroundColor
+ color $ui-dark-tooltip-text-color
&:focus
border-color $ui-button--focus-borderColor