Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a5d28036
Commit
a5d28036
authored
5 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
docs: use the `escape_svg` function.
parent
c26e6842
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/docs/4.3/assets/scss/_nav.scss
+1
-1
site/docs/4.3/assets/scss/_nav.scss
site/docs/4.3/assets/scss/_variables.scss
+1
-0
site/docs/4.3/assets/scss/_variables.scss
with
2 additions
and
1 deletion
+2
-1
site/docs/4.3/assets/scss/_nav.scss
+
1
-
1
View file @
a5d28036
...
...
@@ -67,7 +67,7 @@
font-weight
:
600
;
color
:
$gray-900
;
background-color
:
transparent
;
background-image
:
url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"
)
;
background-image
:
escape-svg
(
$dropdown-active-icon
);
background-repeat
:
no-repeat
;
background-position
:
.4rem
.6rem
;
background-size
:
.75rem
.75rem
;
...
...
This diff is collapsed.
Click to expand it.
site/docs/4.3/assets/scss/_variables.scss
+
1
-
0
View file @
a5d28036
...
...
@@ -7,6 +7,7 @@ $bd-download: #ffe484 !default;
$bd-info
:
#5bc0de
!
default
;
$bd-warning
:
#f0ad4e
!
default
;
$bd-danger
:
#d9534f
!
default
;
$dropdown-active-icon
:
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>")
;
// Enable responsive font sizes for font sizes defined in the docs
// The weird if test is made as a workaround to prevent a false fusv error.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment