File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import {TAGS} from "../../utils/config";
3
3
const {post} = Astro .props ;
4
4
---
5
5
6
- <div class =" card flex flex-row items-center gap-5 border border-[#4a4c57] hover:bg-[#1e1f22] shadow-md p-7 rounded-2xl flex-shrink-0 flex-grow-0" >
7
- <img class =" w-5/12 h-full object-cover rounded-lg overflow-hidden left-content"
6
+ <div class =" card flex flex-col md:flex- row items-center gap-5 border border-[#4a4c57] hover:bg-[#1e1f22] shadow-md p-7 rounded-2xl flex-shrink-0 flex-grow-0" >
7
+ <img class =" w-full md:w- 5/12 sm: h-full object-cover rounded-lg overflow-hidden left-content"
8
8
src ={ post .data .img } alt ={ post .data .title } ></img >
9
9
<div class =" flex flex-col gap-5 text-white" >
10
10
<span class =" text-sm" >{ post .data .date } </span >
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export async function getStaticPaths({paginate}: GetStaticPathsOptions) {
89
89
< / div >
90
90
91
91
< ! -- 侧边栏-- >
92
- <div class = " flex flex-col w-5/12 px-10 items-start gap-12 mt-[35px]" >
92
+ <div class = " hidden lg: flex flex-col w-5/12 px-10 items-start gap-12 mt-[35px]" >
93
93
{
94
94
learningChannels .map (channel => (
95
95
<div class = " w-full flex flex-col gap-5" >
You can’t perform that action at this time.
0 commit comments