File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
docs/.vitepress/theme/components Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ const showStudySession = true;
132132@media (min-width : 960px ) {
133133 .main {
134134 order : 1 ;
135- width : calc (55 % ); /* Adjusted to give more space to study session */
135+ width : calc (45 % ); /* Give more space to study session */
136136 }
137137
138138 .VPHero.has-study-session .main {
@@ -275,7 +275,7 @@ const showStudySession = true;
275275 order : 2 ; /* Keep on right side on desktop */
276276 margin : 0 ;
277277 min-height : 400px ;
278- width : calc (45 % );
278+ width : calc (55 % );
279279 }
280280}
281281
@@ -314,10 +314,17 @@ const showStudySession = true;
314314 border-radius : 12px ;
315315 padding : 2rem ;
316316 width : 100% ;
317- max-width : 400px ;
317+ max-width : 400px ; /* Limit on mobile */
318318 text-align : center ;
319319}
320320
321+ @media (min-width : 960px ) {
322+ .study-placeholder {
323+ max-width : none ; /* Remove width limit on desktop */
324+ width : 100% ; /* Take full available space */
325+ }
326+ }
327+
321328.study-placeholder h3 {
322329 margin : 0 0 1rem 0 ;
323330 color : var (--vp-c-text-1 );
You can’t perform that action at this time.
0 commit comments