Skip to content

Commit f5bc7fa

Browse files
committed
minor tweaks
1 parent 1b44db2 commit f5bc7fa

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

src/devtools/App.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
<span class="event-count" v-if="newEventCount > 0">{{ newEventCount }}</span>
3333
</a>
3434
<a class="button refresh"
35-
@click="refresh">
35+
@click="refresh"
36+
title="Force Refresh">
3637
<i class="material-icons">cached</i>
3738
<span class="pane-name">Refresh</span>
3839
</a>
@@ -80,6 +81,10 @@ export default {
8081
},
8182
mounted () {
8283
this.updateActiveBar()
84+
window.addEventListener('resize', this.updateActiveBar)
85+
},
86+
destroyed () {
87+
window.removeEventListener('resize', this.updateActiveBar)
8388
},
8489
watch: {
8590
tab () {
@@ -187,5 +192,5 @@ $event-count-bubble-size = 18px
187192
width 0px
188193
height 3px
189194
background-color $active-color
190-
transition all .35s cubic-bezier(0,.9,.6,1)
195+
transition all .32s cubic-bezier(0,.9,.6,1)
191196
</style>

src/devtools/global.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
transform scale(0.8)
4040

4141
.toggle-recording .material-icons
42-
color #999
42+
color #999 !important
4343
&.enabled
44-
color red
44+
color red !important
4545
text-shadow 0 0 3px rgba(255, 0, 0, .4)
4646

4747
html, body

src/devtools/views/components/ComponentInstance.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ export default {
156156
background-color #b3cbf7
157157
&.inactive
158158
background-color #aaa
159+
&:not(.console)
160+
margin-left 6px
159161
160162
.arrow-wrapper
161163
position absolute

0 commit comments

Comments
 (0)