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
032adf13
Commit
032adf13
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Apply word-wrap:break-word to Tooltips and Popovers
Fixes
#16871
for v4
parent
27596f48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scss/_popover.scss
+2
-0
scss/_popover.scss
scss/_tooltip.scss
+2
-0
scss/_tooltip.scss
scss/mixins/_reset-text.scss
+1
-2
scss/mixins/_reset-text.scss
with
5 additions
and
2 deletions
+5
-2
scss/_popover.scss
+
2
-
0
View file @
032adf13
...
...
@@ -10,6 +10,8 @@
// So reset our font and text properties to avoid inheriting weird values.
@include
reset-text
();
font-size
:
$font-size-sm
;
// Allow breaking very long words so they don't overflow the popover's bounds
word-wrap
:
break-word
;
background-color
:
$popover-bg
;
background-clip
:
padding-box
;
border
:
$popover-border-width
solid
$popover-border-color
;
...
...
This diff is collapsed.
Click to expand it.
scss/_tooltip.scss
+
2
-
0
View file @
032adf13
...
...
@@ -7,6 +7,8 @@
// So reset our font and text properties to avoid inheriting weird values.
@include
reset-text
();
font-size
:
$font-size-sm
;
// Allow breaking very long words so they don't overflow the tooltip's bounds
word-wrap
:
break-word
;
opacity
:
0
;
&
.in
{
opacity
:
$tooltip-opacity
;
}
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_reset-text.scss
+
1
-
2
View file @
032adf13
@mixin
reset-text
{
font-family
:
$font-family-base
;
// We deliberately do NOT reset font-size.
// We deliberately do NOT reset font-size
or word-wrap
.
font-style
:
normal
;
font-weight
:
normal
;
letter-spacing
:
normal
;
...
...
@@ -14,5 +14,4 @@
white-space
:
normal
;
word-break
:
normal
;
word-spacing
:
normal
;
word-wrap
:
normal
;
}
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