Skip to content

Commit

Permalink
fix: block some ui text selections when drag app
Browse files Browse the repository at this point in the history
  • Loading branch information
agalwood committed Apr 10, 2019
1 parent e880430 commit 8744070
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/renderer/components/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
padding: 44px 0 12px;
margin: 0 36px;
border-bottom: 2px solid $--panel-border-color;
user-select: none;
h4 {
margin: 0;
color: $--panel-title-color;
Expand Down
3 changes: 3 additions & 0 deletions src/renderer/components/Task/AddTask.vue
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@
<style lang="scss">
.add-task-dialog {
max-width: 632px;
.el-tabs__header {
user-select: none;
}
.el-input-number.el-input-number--mini {
width: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions src/renderer/components/Task/TaskList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
justify-content: center;
font-size: 14px;
color: #555;
user-select: none;
}
.no-task-inner {
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/Theme/Default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
.subnav-inner {
margin-top: 44px;
padding: 0 16px;
user-select: none;

h3 {
font-size: 16px;
Expand All @@ -51,7 +52,6 @@
list-style: none;
padding: 0;
margin: 0;
user-select: none;
cursor: default;

li {
Expand Down

0 comments on commit 8744070

Please sign in to comment.