Skip to content

Commit ee3fd10

Browse files
author
OpenShift Bot
authoredFeb 24, 2017
Merge pull request #1299 from sg00dwin/label-stacking1269
Merged by openshift-bot
2 parents 71bf861 + 3b59275 commit ee3fd10

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎app/styles/_core.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -1159,14 +1159,14 @@ pre.clipped {
11591159
margin-right: 5px;
11601160
// A bit more space below the actions button.
11611161
margin-top: 3px;
1162-
width: 100%; // needed to enable truncation within table
1162+
max-width: 100%; // needed to enable truncation within table, but still allow inline display if room is available
11631163
&:before {
11641164
content: ' ';
11651165
white-space: normal;
11661166
}
11671167
.label-pair {
11681168
margin-bottom: 2px;
1169-
width: 100%; // needed to enable truncation within table
1169+
max-width: 100%; // needed to enable truncation within table, but still allow inline display if room is available
11701170
.label {
11711171
// prevent short label-key or label-value from being truncated less than 4 characters
11721172
min-width: 50px;

‎dist/styles/main.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -4106,9 +4106,9 @@ status-icon .spinner.spinner-inline{margin-left:.153846em;margin-right:.153846em
41064106
.last-status status-icon .spinner.spinner-inline{margin-left:4px;margin-right:4px}
41074107
pre.clipped{display:inline-block;margin-top:10px;max-width:100%}
41084108
pre.clipped.scroll{max-height:150px;overflow:auto;width:100%}
4109-
.k8s-label{margin-right:5px;margin-top:3px;width:100%}
4109+
.k8s-label{margin-right:5px;margin-top:3px;max-width:100%}
41104110
.k8s-label:before{content:' ';white-space:normal}
4111-
.k8s-label .label-pair{margin-bottom:2px;width:100%}
4111+
.k8s-label .label-pair{margin-bottom:2px;max-width:100%}
41124112
.k8s-label .label-pair .label{min-width:50px}
41134113
.k8s-label .label-pair .label:first-child{border-radius:2px 0 0 2px}
41144114
.k8s-label .label-pair .label:last-child{border-radius:0 2px 2px 0}

0 commit comments

Comments
 (0)
Please sign in to comment.