Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2841,7 +2841,7 @@ html[data-show-path-bars='0'] .path-pair-bar {
min-height: 18px !important;
padding: 2px 4px !important;
border: 1px solid #a0a0a0 !important;
background: #f5f5f5 !important;
background: #f0f0f0 !important;
}

.media-compare-view .media-report-panel {
Expand Down
6 changes: 3 additions & 3 deletions src/styles/mediaChromeDensity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,19 @@ describe('media rules importance strip residual', () => {
it('keeps Media rules/importance strip on the capture band', () => {
expect(mediaView).toMatch(/data-rules-density="capture-1to1"/)
expect(mediaView).toMatch(/data-importance-chrome="capture-1to1"/)
expect(mediaView).toMatch(/\.media-rules-panel\s*\{[\s\S]*?background:\s*#f5f5f5/)
expect(mediaView).toMatch(/\.media-rules-panel\s*\{[\s\S]*?background:\s*#f0f0f0/)
expect(mediaView).toMatch(/\.media-rules-panel\s*\{[\s\S]*?min-height:\s*18px/)
expect(mediaView).toMatch(/\.media-rule-row\s*\{[\s\S]*?min-height:\s*16px/)
expect(css).toMatch(
/\.media-compare-view \.media-rules-panel\s*\{[\s\S]*?background:\s*#f5f5f5/,
/\.media-compare-view \.media-rules-panel\s*\{[\s\S]*?background:\s*#f0f0f0/,
)
expect(css).toMatch(/\.media-compare-view \.media-rule-row\s*\{[\s\S]*?min-height:\s*16px/)
expect(mediaView).not.toMatch(/min-height:\s*6px/)
})
})

describe('media scrub surface residual', () => {
it('keeps Media scrub strip on capture #f5f5f5 without surface override', () => {
it('keeps Media scrub strip on capture #f0f0f0 without surface override', () => {
expect(mediaView).toMatch(/data-media-scrub-residual="capture-1to1"/)
expect(mediaView).toMatch(/\.media-scrub-row\s*\{[\s\S]*?background:\s*#f0f0f0/)
expect(mediaView).not.toMatch(
Expand Down
2 changes: 1 addition & 1 deletion src/views/MediaCompareView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ h1 {
padding: 2px 4px;
border: 1px solid #a0a0a0;
border-radius: 0;
background: #f5f5f5;
background: #f0f0f0;
}

.media-rules-panel header {
Expand Down
Loading