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 1
1
.editor {
2
+ background : transparent;
2
3
height : 500px ;
3
4
}
Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ import BlockNote from "@theme/components/Examples/BlockNote/BlockNote.vue";
24
24
</div >
25
25
26
26
<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" />
28
31
</div >
29
32
<!-- features
30
33
sponsors
@@ -73,6 +76,8 @@ header {
73
76
}
74
77
75
78
.header-media {
79
+ display : flex ;
80
+ flex-direction : column ;
76
81
transform : translateY (-80px );
77
82
max-width : 596px ;
78
83
width : 100% ;
@@ -90,10 +95,12 @@ header {
90
95
@media only screen and (hover : none ) and (pointer : coarse) {
91
96
display : none ; /* disable on mobile */
92
97
}
98
+ }
93
99
100
+ .editor-wrapper {
94
101
border-radius : 12px ;
95
102
box-shadow : inset 0 0 0 1px #c4d0d966 , inset 0 -1px #ffffff1a ,
96
- inset 0 1px #84b9f61a ;
103
+ inset 0 1px #84b9f61a ;
97
104
// background-image: radial-gradient(
98
105
// 145% 110% at 46% 20%,
99
106
// #fdfeff 50%,
@@ -104,25 +111,26 @@ header {
104
111
backdrop-filter : blur (6px );
105
112
padding : 50px ;
106
113
padding-left : 1px ;
114
+ overflow-y : scroll ;
107
115
}
108
116
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
+
111
125
background-image : url (/ img/assets/try.svg );
112
126
:root .dark & {
113
127
background-image : url (/ img/assets/try.dark.svg );
114
128
}
115
- width : 250px ;
116
- height : 160px ;
117
- display : block ;
118
- position : absolute ;
119
129
background-size : contain ;
120
130
background-repeat : no-repeat ;
121
- bottom : -90px ;
122
- left : -120px ;
123
131
124
132
@media (max-width : 1280px ) {
125
- left : 0 px ;
133
+ right : 0 ;
126
134
}
127
135
}
128
136
Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ defineProps<{
116
116
align-items : center ;
117
117
margin-top : -72px ;
118
118
padding-top : 276px ;
119
- padding-bottom : 64px ;
120
119
// min-height: 100lvh;
121
120
122
121
background : linear-gradient (
293
292
width : 100% ;
294
293
max-width : var (--content-max-width );
295
294
padding : 0 18px ;
296
- margin : 100 px auto 132px ;
295
+ margin : 0 auto 132px ;
297
296
text-align : center ;
298
297
299
298
@media (max-width : 1024px ) {
You can’t perform that action at this time.
0 commit comments