fix mobile responsive layout for habit and task list

This commit is contained in:
dohsimpson
2025-01-27 22:41:27 -05:00
parent 7065d5694b
commit 363b31e934
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog # Changelog
## Version 0.1.30
### Fixed
- fix responsive layout on mobile for habits and wishlist when has archived items
## Version 0.1.29 ## Version 0.1.29
### Fixed ### Fixed

View File

@@ -67,7 +67,7 @@ export default function HabitList() {
{archivedHabits.length > 0 && ( {archivedHabits.length > 0 && (
<> <>
<div className="col-span-2 relative flex items-center my-6"> <div className="col-span-1 sm:col-span-2 relative flex items-center my-6">
<div className="flex-grow border-t border-gray-300 dark:border-gray-600" /> <div className="flex-grow border-t border-gray-300 dark:border-gray-600" />
<span className="mx-4 text-sm text-gray-500 dark:text-gray-400">Archived</span> <span className="mx-4 text-sm text-gray-500 dark:text-gray-400">Archived</span>
<div className="flex-grow border-t border-gray-300 dark:border-gray-600" /> <div className="flex-grow border-t border-gray-300 dark:border-gray-600" />

View File

@@ -1,6 +1,6 @@
{ {
"name": "habittrove", "name": "habittrove",
"version": "0.1.29", "version": "0.1.30",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev --turbopack", "dev": "next dev --turbopack",