Skip to content

Commit 6e503bf

Browse files
author
Guillaume Chau
committed
fix(style): responsive design
1 parent edbbc53 commit 6e503bf

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

src/devtools/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@
9191
<template slot="header">
9292
<VueIcon
9393
icon="directions"
94-
style="margin-right: 6px"
94+
class="left-icon"
9595
/>
9696
<span class="hide-below-wide">
9797
Routing
9898
</span>
9999
<VueIcon
100100
icon="keyboard_arrow_down"
101-
style="margin-left: 6px"
101+
class="right-icon"
102102
/>
103103
</template>
104104
<template

src/devtools/components/GroupDropdown.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ export default {
110110
padding 0 14px
111111
height 100%
112112
cursor pointer
113+
@media (min-width: ($wide + 1px))
114+
.left-icon
115+
margin-right 6px
116+
.right-icon
117+
margin-left 6px
118+
@media (max-width: $wide)
119+
padding 0 6px 0 12px
113120
& /deep/ svg
114121
fill #2c3e50
115122

src/devtools/style/variables.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $pink = #881391
1717
$lightPink = #e36eec
1818

1919
// The min-width to give icons text...
20-
$wide = 1050px
20+
$wide = 1100px
2121

2222
// The min-height to give the tools a little more breathing room...
2323
$tall = 350px

src/devtools/views/vuex/VuexHistory.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ $inspected_color = #af90d5
352352
white-space nowrap
353353
span
354354
display none
355-
@media (min-width: 1080px)
355+
@media (min-width: 1400px)
356356
display inline
357357
.vue-ui-icon
358358
width 18px

0 commit comments

Comments
 (0)