improves layout responsiveness for article list
This commit is contained in:
		| @@ -5,13 +5,13 @@ | ||||
|     {{- $page = .page -}} | ||||
| {{- end -}} | ||||
| <li class="flex gap-4 items-center"> | ||||
|   <a class="flex-grow" href="{{ $page.RelPermalink }}">{{ partial "article-wompum.html" $page }}</a> | ||||
|   <time class="text-gray-800 font-iosevka" datetime="{{ $page.Date.Format "2006-01-02" }}"> | ||||
|   <a class="flex-1 min-w-0" href="{{ $page.RelPermalink }}">{{ partial "article-wompum.html" $page }}</a> | ||||
|   <time class="text-gray-800 font-iosevka w-12 flex-shrink-0" datetime="{{ $page.Date.Format "2006-01-02" }}"> | ||||
|     <p>{{ $page.Date.Format "Jan" }}</p> | ||||
|     <p>{{ $page.Date.Format "02" }}</p> | ||||
|     <p>{{ $page.Date.Format "2006" }}</p> | ||||
|   </time> | ||||
|   <div class="flex-shrink-0 max-w-max"> | ||||
|   <div class="w-3/5 flex-shrink-0"> | ||||
|     <a class="text-2xl font-bold hover:text-green-900 underline" href="{{ $page.RelPermalink }}">{{ partial "article-title" $page }}</a> | ||||
|     <p class="max-w-prose">{{ $page.Params.summary }}</p> | ||||
|     {{ partial "tags.html" $page }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user