Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8e4867

Browse files
melkstamastone123
andauthored
fix: clamp command output to 50 lines (cypress-io#24089)
Co-authored-by: astone123 <[email protected]>
1 parent e02a0b9 commit a8e4867

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/reporter/src/commands/commands.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
.command-wrapper-text {
8282
display: flex;
8383
flex-wrap: nowrap;
84+
padding-top: 4px;
85+
padding-bottom: 4px;
8486
}
8587

8688
.command-interceptions {
@@ -138,12 +140,13 @@
138140
}
139141

140142
.command-info {
141-
padding-top: 4px;
142-
padding-bottom: 4px;
143143
margin-left: 0;
144144
overflow: hidden;
145145
width: 100%;
146146
font-weight: 600;
147+
-webkit-line-clamp: 50;
148+
-webkit-box-orient: vertical;
149+
display: -webkit-box;
147150

148151
.command-aliases,
149152
.command-message {
@@ -378,8 +381,6 @@
378381
white-space: initial;
379382
word-wrap: inherit;
380383
width: 100%;
381-
-webkit-line-clamp: 50;
382-
-webkit-box-orient: vertical;
383384
}
384385

385386
// Styles for Uncaught Exception

0 commit comments

Comments
 (0)