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
cf73dd5f
Commit
cf73dd5f
authored
May 15, 2017
by
Robb Hamilton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarifying flex use case for word-break-all
parent
bb3f5eab
Hide 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 @
cf73dd5f
...
@@ -20,11 +20,15 @@
...
@@ -20,11 +20,15 @@
// DESCRIPTION: Breaks long non-breaking strings under the following circumstances:
// 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)
// - 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
// - 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:
// EXAMPLE:
// <div style="display:flex">
// <div style="display:flex">
// <div class="word-break-all">...
// <div class="word-break-all">...
// </div>
// </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.
// 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
// https://bugzilla.mozilla.org/show_bug.cgi?id=587438, https://bugzilla.mozilla.org/show_bug.cgi?id=1136818
// USAGE:
// USAGE:
...
...
src/styles/_mixins.less
View file @
cf73dd5f
...
@@ -20,11 +20,15 @@
...
@@ -20,11 +20,15 @@
// DESCRIPTION: Breaks long non-breaking strings under the following circumstances:
// 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)
// - 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
// - 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:
// EXAMPLE:
// <div style="display:flex">
// <div style="display:flex">
// <div class="word-break-all">...
// <div class="word-break-all">...
// </div>
// </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.
// 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
// https://bugzilla.mozilla.org/show_bug.cgi?id=587438, https://bugzilla.mozilla.org/show_bug.cgi?id=1136818
// USAGE:
// 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