Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1edba807
Commit
1edba807
authored
5 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
badge.md: use `text-dark` for warning.
parent
fbeed6f1
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
site/content/docs/4.3/components/badge.md
+2
-2
site/content/docs/4.3/components/badge.md
with
2 additions
and
2 deletions
+2
-2
site/content/docs/4.3/components/badge.md
+
2
-
2
View file @
1edba807
...
@@ -45,7 +45,7 @@ Use our background utility classes to quickly change the appearance of a badge.
...
@@ -45,7 +45,7 @@ Use our background utility classes to quickly change the appearance of a badge.
{{
<
example
>
}}
{{
<
example
>
}}
{{
<
badge.inline
>
}}
{{
<
badge.inline
>
}}
{{- range (index $.Site.Data "theme-colors") }}
{{- range (index $.Site.Data "theme-colors") }}
<span
class=
"badge bg-{{ .name }}{{ if eq .name "
light
"
}}
text-dark
{{
end
}}"
>
{{ .name | title }}
</span>
{{- end -}}
<span
class=
"badge bg-{{ .name }}{{ if
or (
eq .name "
light
"
)
(
eq
.
name
"
warning
")
}}
text-dark
{{
end
}}"
>
{{ .name | title }}
</span>
{{- end -}}
{{
<
/
badge.inline
>
}}
{{
<
/
badge.inline
>
}}
{{
<
/
example
>
}}
{{
<
/
example
>
}}
...
@@ -60,6 +60,6 @@ Use the `.rounded-pill` utility class to make badges more rounded with a larger
...
@@ -60,6 +60,6 @@ Use the `.rounded-pill` utility class to make badges more rounded with a larger
{{
<
example
>
}}
{{
<
example
>
}}
{{
<
badge.inline
>
}}
{{
<
badge.inline
>
}}
{{- range (index $.Site.Data "theme-colors") }}
{{- range (index $.Site.Data "theme-colors") }}
<span
class=
"badge rounded-pill bg-{{ .name }}{{ if eq .name "
light
"
}}
text-dark
{{
end
}}"
>
{{ .name | title }}
</span>
{{- end -}}
<span
class=
"badge rounded-pill bg-{{ .name }}{{ if
or (
eq .name "
light
"
)
(
eq
.
name
"
warning
")
}}
text-dark
{{
end
}}"
>
{{ .name | title }}
</span>
{{- end -}}
{{
<
/
badge.inline
>
}}
{{
<
/
badge.inline
>
}}
{{
<
/
example
>
}}
{{
<
/
example
>
}}
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
Menu
Explore
Projects
Groups
Snippets