Skip to content

Commit 0ec89b1

Browse files
Modify overflow CSS to fix issues with JSON going off-screen (#625)
* Modify CSS to fix overflow issues * Set width of label to 300px
1 parent 4dafe97 commit 0ec89b1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/components/detail-list.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dl.details
9898
&:nth-child(2n)
9999
background-color rgba(0,0,0,0.03)
100100
dt
101-
flex 0 1 300px
101+
flex 0 0 300px
102102
font-family monospace-font-family
103103
font-weight 200
104104
margin-right 1em
@@ -107,5 +107,6 @@ dl.details
107107
max-width calc(100vw - 700px)
108108
@media (max-width: 1000px)
109109
max-width 500px
110-
one-liner-ellipsis()
110+
overflow-y: auto;
111+
max-height: 16vh;
111112
</style>

client/containers/workflow-history/component.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ section.history {
793793
.vue-recycle-scroller__slot, .vue-recycle-scroller__item-view, .scroller-item {
794794
display: flex;
795795
width: 100%;
796+
overflow-wrap: anywhere;
796797
}
797798
798799
.col-id {

0 commit comments

Comments
 (0)