File tree Expand file tree Collapse file tree 3 files changed +21
-13
lines changed
packages/website/docs/.vitepress/theme/components Expand file tree Collapse file tree 3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 11.editor {
2+ background : transparent;
23 height : 500px ;
34}
Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ import BlockNote from "@theme/components/Examples/BlockNote/BlockNote.vue";
2424 </div >
2525
2626 <div class =" header-media" >
27- <ClientOnly ><BlockNote /></ClientOnly >
27+ <div class =" editor-wrapper" >
28+ <ClientOnly ><BlockNote /></ClientOnly >
29+ </div >
30+ <div class =" try-here-image" />
2831 </div >
2932 <!-- features
3033sponsors
@@ -73,6 +76,8 @@ header {
7376}
7477
7578.header-media {
79+ display : flex ;
80+ flex-direction : column ;
7681 transform : translateY (-80px );
7782 max-width : 596px ;
7883 width : 100% ;
@@ -90,10 +95,12 @@ header {
9095 @media only screen and (hover : none ) and (pointer : coarse) {
9196 display : none ; /* disable on mobile */
9297 }
98+ }
9399
100+ .editor-wrapper {
94101 border-radius : 12px ;
95102 box-shadow : inset 0 0 0 1px #c4d0d966 , inset 0 -1px #ffffff1a ,
96- inset 0 1px #84b9f61a ;
103+ inset 0 1px #84b9f61a ;
97104 // background-image: radial-gradient(
98105 // 145% 110% at 46% 20%,
99106 // #fdfeff 50%,
@@ -104,25 +111,26 @@ header {
104111 backdrop-filter : blur (6px );
105112 padding : 50px ;
106113 padding-left : 1px ;
114+ overflow-y : scroll ;
107115}
108116
109- .header-media ::after {
110- content : " " ;
117+ .try-here-image {
118+ position : relative ;
119+ width : 250px ;
120+ height : 160px ;
121+ right : 120px ;
122+ display : block ;
123+ top : -50px ;
124+
111125 background-image : url (/ img/assets/try.svg );
112126 :root .dark & {
113127 background-image : url (/ img/assets/try.dark.svg );
114128 }
115- width : 250px ;
116- height : 160px ;
117- display : block ;
118- position : absolute ;
119129 background-size : contain ;
120130 background-repeat : no-repeat ;
121- bottom : -90px ;
122- left : -120px ;
123131
124132 @media (max-width : 1280px ) {
125- left : 0 px ;
133+ right : 0 ;
126134 }
127135}
128136
Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ defineProps<{
116116 align-items : center ;
117117 margin-top : -72px ;
118118 padding-top : 276px ;
119- padding-bottom : 64px ;
120119 // min-height: 100lvh;
121120
122121 background : linear-gradient (
293292 width : 100% ;
294293 max-width : var (--content-max-width );
295294 padding : 0 18px ;
296- margin : 100 px auto 132px ;
295+ margin : 0 auto 132px ;
297296 text-align : center ;
298297
299298 @media (max-width : 1024px ) {
You can’t perform that action at this time.
0 commit comments