Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Java-于龙
origin-web-common
Commits
f0ec0ab9
Commit
f0ec0ab9
authored
May 17, 2017
by
Robb Hamilton
Committed by
GitHub
May 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68 from rhamilto/word-break-all-update
Clarifying flex use case for word-break-all
parents
2bedab26
cf73dd5f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
_mixins.less
dist/less/_mixins.less
+5
-1
_mixins.less
src/styles/_mixins.less
+5
-1
No files found.
dist/less/_mixins.less
View file @
f0ec0ab9
...
...
@@ -20,11 +20,15 @@
// DESCRIPTION: Breaks long non-breaking strings under the following circumstances:
// - if within a table not set to table-layout: fixed (but have a very good reason for doing so! otherwise, see .table-layout-fixed)
// - fieldset
// - flex container
// - flex container
where a flexed child CANNOT use .word-break() and flex: 1 1 0% (note that exact combo is required on the child)
// EXAMPLE:
// <div style="display:flex">
// <div class="word-break-all">...
// </div>
// INSTEAD OF:
// <div style="display:flex">
// <div class="word-break" style="flex: 1 1 0%">...
// </div>
// Guarantees the string will wrap. word-break: break-all; is used by firefox and IE to break in the usage cases.
// https://bugzilla.mozilla.org/show_bug.cgi?id=587438, https://bugzilla.mozilla.org/show_bug.cgi?id=1136818
// USAGE:
...
...
src/styles/_mixins.less
View file @
f0ec0ab9
...
...
@@ -20,11 +20,15 @@
// DESCRIPTION: Breaks long non-breaking strings under the following circumstances:
// - if within a table not set to table-layout: fixed (but have a very good reason for doing so! otherwise, see .table-layout-fixed)
// - fieldset
// - flex container
// - flex container
where a flexed child CANNOT use .word-break() and flex: 1 1 0% (note that exact combo is required on the child)
// EXAMPLE:
// <div style="display:flex">
// <div class="word-break-all">...
// </div>
// INSTEAD OF:
// <div style="display:flex">
// <div class="word-break" style="flex: 1 1 0%">...
// </div>
// Guarantees the string will wrap. word-break: break-all; is used by firefox and IE to break in the usage cases.
// https://bugzilla.mozilla.org/show_bug.cgi?id=587438, https://bugzilla.mozilla.org/show_bug.cgi?id=1136818
// USAGE:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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