Skip to content

Commit d7ec22c

Browse files
committed
fix:updated devtools icon with css fixes [ECO-188]
1 parent 74e7731 commit d7ec22c

File tree

5 files changed

+122
-84
lines changed

5 files changed

+122
-84
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![![Contentstack Logo](/public/contentstack.png)](https://www.contentstack.com/)
1+
[![Contentstack Logo](/public/contentstack.png)](https://www.contentstack.com/)
22

33
# Create a marketing website using VueJS
44

package-lock.json

Lines changed: 81 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/Devtools.gif

34.8 KB
Loading

src/assets/css/style.css

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,15 @@ header nav {
107107
.devtools {
108108
float: right;
109109
position: relative;
110-
bottom: 23px;
111-
right: 2%;
110+
bottom: 30px;
111+
right: 1%;
112112
cursor: pointer;
113113
}
114114

115+
.devtools img{
116+
width: 28px;
117+
}
118+
115119
.header-ul {
116120
overflow: hidden;
117121
}
@@ -623,6 +627,15 @@ footer a {
623627
max-width: 100%;
624628
}
625629

630+
.modal {
631+
overflow: hidden;
632+
}
633+
634+
.modal-body {
635+
height:38rem;
636+
overflow: auto;
637+
}
638+
626639
/* ========================== */
627640

628641
/* Mobile */
@@ -1156,4 +1169,23 @@ footer a {
11561169
width: 65%;
11571170
margin-left: 23px;
11581171
}
1159-
}
1172+
}
1173+
1174+
/* scroll bar */
1175+
::-webkit-scrollbar {
1176+
width: 5px;
1177+
height: 5px;
1178+
}
1179+
::-webkit-scrollbar-track {
1180+
background: transparent;
1181+
}
1182+
1183+
::-webkit-scrollbar-thumb {
1184+
background: #e0e2e8;
1185+
}
1186+
1187+
::-webkit-scrollbar-thumb:hover {
1188+
background: #eee;
1189+
}
1190+
1191+
/* scroll end */

src/components/Header.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
data-bs-toggle="modal"
88
data-bs-target="#staticBackdrop"
99
>
10-
<i class="fas fa-tools fa-lg"></i>
10+
<img
11+
src="../assets/Devtools.gif"
12+
alt="Dev tools icon"
13+
title="Json Preview"
14+
/>
1115
</span>
1216
</div>
1317
<div class="max-width header-div">

0 commit comments

Comments
 (0)