From 49fd3ae02718937346c5caca2ee04355b7595d26 Mon Sep 17 00:00:00 2001
From: Mohd Zaid <72139621+zaidmstrr@users.noreply.github.com>
Date: Thu, 17 Oct 2024 23:18:29 +0530
Subject: [PATCH] Improving the BlockCore Notes UI (#146)
---
src/app/home/home.css | 30 ++++++++--
src/app/home/home.html | 128 +++++++++++++++++++++--------------------
2 files changed, 91 insertions(+), 67 deletions(-)
diff --git a/src/app/home/home.css b/src/app/home/home.css
index 35fcd72..e227ec9 100644
--- a/src/app/home/home.css
+++ b/src/app/home/home.css
@@ -14,7 +14,7 @@
.default-card {
display: inline-block;
- /* margin-bottom: 1em; */
+ margin-bottom: 1em;
width: 300px;
height: 160px;
margin-right: 1em;
@@ -90,21 +90,34 @@
.home {
display: flex;
+ /* flex-wrap: nowrap; */
+ justify-content: space-between;
gap: 1.5em;
- max-width: 1360px;
+ max-width: 1100px;
align-self: center;
+ /* flex-direction: row; */
+
}
.home-left {
- flex: 1 1 0;
- min-width: 240px;
+ /* flex: 1 1 0;
+ min-width: 240px; */
+ display: flex;
+ flex-wrap: nowrap;
+ justify-content: space-around;
+
}
.home-right {
- flex: 3 1 0;
+ /* flex: 3 1 0; */
+ display: flex;
+ justify-content:space-between;
+ /* flex-wrap: nowrap; */
}
.home-card {
+ margin: 15px;
+ flex-grow: 1;
border-radius: 15px;
margin-bottom: 1.8em;
width: 100%;
@@ -123,10 +136,15 @@
}
.page {
+
box-sizing: border-box;
display: flex;
width: 100%;
+ justify-content: space-between;
flex-direction: column;
+
+ /* flex-direction: row; */
+ /* flex-direction: row-reverse; */
}
@media only screen and (max-width: 599px) {
@@ -155,6 +173,8 @@
display: flex;
flex-direction: row;
margin-bottom: 0.2em;
+ /* align-items: center; */
+
}
.profile-line::-webkit-scrollbar-thumb {
diff --git a/src/app/home/home.html b/src/app/home/home.html
index 9141b7e..9b13011 100644
--- a/src/app/home/home.html
+++ b/src/app/home/home.html
@@ -8,6 +8,72 @@
+ +
+ + +- -
- -