styling to support long job titles on job results' stdout panel

This commit is contained in:
jaredevantabor
2017-03-03 18:27:40 -08:00
committed by Matthew Jones
parent 4005cf927e
commit ba628893d1
2 changed files with 84 additions and 65 deletions

View File

@@ -161,6 +161,24 @@
flex-direction: column; flex-direction: column;
} }
.JobResults-panelRightTitle{
flex-wrap: wrap;
}
.JobResults-panelRightTitleText{
word-wrap: break-word;
word-break: break-all;
max-width: 100%;
}
.JobResults-badgeAndActionRow{
display:flex;
flex: 1 0 auto;
justify-content: flex-end;
flex-wrap: wrap;
max-width: 100%;
}
.StandardOut-panelHeader { .StandardOut-panelHeader {
flex: initial; flex: initial;
} }

View File

@@ -431,8 +431,8 @@
<div class="Panel JobResults-panelRight"> <div class="Panel JobResults-panelRight">
<!-- RIGHT PANE HEADER --> <!-- RIGHT PANE HEADER -->
<div class="StandardOut-panelHeader"> <div class="StandardOut-panelHeader JobResults-panelRightTitle">
<div class="StandardOut-panelHeaderText"> <div class="StandardOut-panelHeaderText JobResults-panelRightTitleText">
<i class="JobResults-statusResultIcon <i class="JobResults-statusResultIcon
fa icon-job-{{ job_status }}" fa icon-job-{{ job_status }}"
ng-show="stdoutFullScreen" ng-show="stdoutFullScreen"
@@ -443,7 +443,7 @@
</i> </i>
{{ job.name }} {{ job.name }}
</div> </div>
<div class="JobResults-badgeAndActionRow">
<!-- HEADER COUNTS --> <!-- HEADER COUNTS -->
<div class="JobResults-badgeRow"> <div class="JobResults-badgeRow">
<!-- PLAYS COUNT --> <!-- PLAYS COUNT -->
@@ -515,6 +515,7 @@
</div> </div>
</div> </div>
</div>
<host-status-bar></host-status-bar> <host-status-bar></host-status-bar>
<smart-search <smart-search
django-model="job_events" django-model="job_events"