File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" h-screen overflow-hidden flex flex-row" >
3
- <main class =" min-w-0 flex-1 border-t border-gray-200 lg:flex" >
3
+ <main class =" h-screen min-w-0 flex-1 border-t border-gray-200 lg:flex" >
4
4
<section
5
5
aria-labelledby =" primary-heading"
6
6
class =" min-w-0 flex-1 h-full flex flex-col overflow-hidden lg:order-last"
Original file line number Diff line number Diff line change 21
21
ref =" runnerPane"
22
22
class =" relative w-full"
23
23
>
24
- <div class =" bg-white p-4" >
24
+ <div class =" bg-white p-4 border-8 border-blue-300 " >
25
25
<SpecRunnerHeader :gql =" props.gql" />
26
26
</div >
27
27
@@ -109,8 +109,23 @@ onBeforeUnmount(() => {
109
109
</script >
110
110
111
111
<style scoped lang="scss">
112
+ $navbar-width : 80px ;
113
+
112
114
#main-pane {
115
+ /* * There is a "bug" caused by this line:
116
+ https://github.com/cypress-io/cypress/blob/develop/packages/driver/src/cy/actionability.ts#L375
117
+ Basically `scrollIntoView` is applied even outside of the <iframe>,
118
+ scrolling an element "upwards", messing up the UI
119
+ Easiest way to reprodudce is remove the `position: fixed`
120
+ and run the `SpecList.spec.tsx` test in runner-ct
121
+ in CT mode.
122
+ Ideally we should not need `position: fixed`, but I don't see
123
+ a good way to work around this right now.
124
+ */
125
+ position : fixed ;
126
+ left : $navbar-width ;
113
127
height : 100vh ;
128
+ width : calc (100% - #{$navbar-width } );
114
129
}
115
130
116
131
#inline-spec-list {
You can’t perform that action at this time.
0 commit comments