Skip to content

Commit b8520ef

Browse files
author
rakeshAlgo
committed
Fix eslint error
1 parent 359a7b6 commit b8520ef

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

src/css/doc.css

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
.doc h4 a.anchor::before,
8484
.doc h5 a.anchor::before,
8585
.doc h6 a.anchor::before {
86-
content: '\f0c1';
87-
font-family: 'Font Awesome 5 Free', sans-serif;
86+
content: "\f0c1";
87+
font-family: "Font Awesome 5 Free", sans-serif;
8888
font-weight: 900;
8989
}
9090

@@ -489,7 +489,8 @@
489489
.doc pre.highlight code {
490490
/* background-color: #151514; */
491491
color: var(--color-brand-gray1);
492-
font-weight: var(--weight-normal); /* needed to override third-party styles */
492+
font-weight: var(--weight-normal);
493+
/* needed to override third-party styles */
493494
padding-left: var(--base-small-space);
494495
padding-right: var(--base-small-space);
495496
padding-top: var(--base-large-space);
@@ -585,8 +586,7 @@
585586
content: "";
586587
display: inline-block;
587588
background:
588-
transparent
589-
linear-gradient(
589+
transparent linear-gradient(
590590
180deg,
591591
#f1f7fe0d 0%,
592592
#f1f7fe40 18%,
@@ -875,6 +875,7 @@ code.language-console.hljs.shell {
875875
.doc .tab-pane > :first-child {
876876
margin-top: 0;
877877
}
878+
878879
/* Media css */
879880

880881
@media screen and (min-width: 840px) {
@@ -1002,7 +1003,6 @@ code.language-console.hljs.shell {
10021003
}
10031004

10041005
@media screen and (max-width: 767px) {
1005-
10061006
.doc h1 {
10071007
font-size: var(--heading-h1-sm);
10081008
}
@@ -1037,8 +1037,12 @@ code.language-console.hljs.shell {
10371037
padding: 1.5rem;
10381038
}
10391039

1040-
.doc h1 > a.anchor, .doc h2 > a.anchor, .doc h3 > a.anchor, .doc h4 > a.anchor, .doc h5 > a.anchor, .doc h6 > a.anchor {
1040+
.doc h1 > a.anchor,
1041+
.doc h2 > a.anchor,
1042+
.doc h3 > a.anchor,
1043+
.doc h4 > a.anchor,
1044+
.doc h5 > a.anchor,
1045+
.doc h6 > a.anchor {
10411046
font-size: 18px;
10421047
}
1043-
1044-
}
1048+
}

src/css/main.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,4 @@ main p {
155155
.article-banner p .fab {
156156
font-size: 1.2rem;
157157
}
158-
159158
}

src/css/vars.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@
121121
--admonition-icon-space: 1rem;
122122
--admonition-content-space: 1rem;
123123

124-
/* Heading fonts for responsive */
125-
--heading-h1-sm: 2.25rem; /* ~36px */
126-
--heading-h2-sm: 1.75rem; /* ~28px */
127-
--heading-h3-sm: 1.25rem; /* ~20px */
128-
--heading-h4-sm: 0.875rem; /* ~14px */
129-
124+
/* Heading fonts for responsive */
125+
--heading-h1-sm: 2.25rem; /* ~36px */
126+
--heading-h2-sm: 1.75rem; /* ~28px */
127+
--heading-h3-sm: 1.25rem; /* ~20px */
128+
--heading-h4-sm: 0.875rem; /* ~14px */
130129
}

0 commit comments

Comments
 (0)