aboutsummaryrefslogtreecommitdiff
path: root/app/static/custom.css
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 14:17:07 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 14:17:07 +0200
commit040a3a894e0816596532d7f7430baa4a5524f67b (patch)
tree920638eee07604fb5541e8bda295525d0546e6a6 /app/static/custom.css
parentb11d9d0d8e0aca2d577f94dd7a6cff526fc05216 (diff)
Added the grid layout using custom css
Diffstat (limited to 'app/static/custom.css')
-rw-r--r--app/static/custom.css19
1 files changed, 12 insertions, 7 deletions
diff --git a/app/static/custom.css b/app/static/custom.css
index fafc51a..18462d3 100644
--- a/app/static/custom.css
+++ b/app/static/custom.css
@@ -1,5 +1,6 @@
button, input, .select, .select select {
width: 100%;
+ height: 100%;
}
table {
font-size: 17.5px;
@@ -7,13 +8,17 @@ table {
td {
width: 20%;
}
-img {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-50%);
-}
.center {
margin: auto;
width: 50%;
-} \ No newline at end of file
+}
+.parent {
+ display: grid;
+ grid-column-gap: 20px;
+ grid-row-gap: 20px;
+}
+@media (min-width: 800px) {
+ .parent {
+ grid-template-columns: repeat(4, 1fr);
+ }
+}