Skip to content

Commit

Permalink
fix(core): replace word-break CSS with overflow-wrap (#4334)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored Oct 27, 2017
1 parent ee646f8 commit abfbb32
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
scaling-policy-summary {
.alarm-name {
word-break: break-all;
overflow-wrap: break-word;
}
.actions {
font-size: 85%;
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/cluster/rollups.less
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
table.instances {
table-layout: fixed;
td {
word-break: break-all;
overflow-wrap: break-word;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
td.precondition-details {
word-break: break-all;
overflow-wrap: break-word;
}

th.precondition-details {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<td>
<account-tag account="cluster.account"></account-tag>
</td>
<td style="word-break: break-all;">
<td style="overflow-wrap: break-word;">
{{ deployStageCtrl.getClusterName(cluster) }}
</td>
<td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
color: var(--color-black);
margin-right: 3px;
max-width: 100px;
word-break: break-all;
overflow-wrap: break-word;
}
}
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/presentation/details.less
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
padding: 20px 15px 0 15px;
margin-bottom: 10px;
.header-text {
word-break: break-all;
overflow-wrap: break-word;
padding: 15px 0;
display: table;
.copy-to-clipboard .glyphicon {
Expand Down
6 changes: 3 additions & 3 deletions app/scripts/modules/core/src/presentation/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ html {
}

dl {
word-break: break-word;
overflow-wrap: break-word;
}

.dl-horizontal {
Expand Down Expand Up @@ -466,7 +466,7 @@ dl {
}

.tooltip-inner {
word-break: break-word;
overflow-wrap: break-word;
}

.tooltip-table {
Expand Down Expand Up @@ -1334,7 +1334,7 @@ ul.checkmap {
}

.break-word {
word-break: break-all;
overflow-wrap: break-word;
}

.horizontal-rule {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
width: auto;
overflow-x: auto;
white-space: nowrap;
word-break: break-all;
overflow-wrap: break-word;
.table-header {
position: sticky;
top: 0;
Expand All @@ -31,7 +31,7 @@
padding: 10px;
display: inline-block;
width: 150px;
word-break: break-all;
overflow-wrap: break-word;
white-space: normal;
border-bottom: 1px solid var(--color-alto);
}
Expand Down

0 comments on commit abfbb32

Please sign in to comment.