From a8eb066bc3441df199b4b22324d50655741daa7c Mon Sep 17 00:00:00 2001 From: Jessica Mendes Date: Fri, 14 Jun 2024 14:21:45 +0100 Subject: [PATCH] updated input page --- .../test/dear-designer-input/index.html | 98 ++++++++++++------- 1 file changed, 60 insertions(+), 38 deletions(-) diff --git a/core/src/theme-ionic/test/dear-designer-input/index.html b/core/src/theme-ionic/test/dear-designer-input/index.html index 028f4ba357..2290912ff1 100644 --- a/core/src/theme-ionic/test/dear-designer-input/index.html +++ b/core/src/theme-ionic/test/dear-designer-input/index.html @@ -52,107 +52,108 @@ - +

Input types:

- +
- +
Text
Number
- +
- + - + - +
Email
Phone number
- +
- + - + - +
Date
Search
- +
- + - + - +
Password
+
- +
- + @@ -160,7 +161,7 @@ - + @@ -178,7 +179,7 @@ - +
md
@@ -188,13 +189,13 @@
xl
- +
- + @@ -204,7 +205,7 @@ - + @@ -222,7 +223,7 @@ - +
Round
@@ -232,13 +233,13 @@
Rectangular
- +
- + @@ -248,7 +249,7 @@ - + @@ -266,13 +267,13 @@ - + - + @@ -302,7 +303,7 @@ - + @@ -313,7 +314,7 @@ - + @@ -330,14 +331,14 @@ - + - + @@ -354,7 +355,7 @@ - + - + @@ -382,7 +383,7 @@ - + - + @@ -444,11 +445,11 @@ } ion-card.preview ion-input{ - width: 400px; + width: 300px; } .padding-preview-input{ - padding:0px 70px 70px 70px; + padding:0px 70px 70px 70px } .padding-preview-input2{ @@ -478,4 +479,25 @@ margin-bottom: 15px; line-height: 150%; } + + @media only screen and (max-width: 768px) { + /* For mobile phones: */ + ion-col[size="1"].hide-mobile { + display:none; + } + + ion-col[size="5"] { + width: calc(calc(6 / var(--ion-grid-columns, 12))* 100%) !important; + max-width: calc(calc(6 / var(--ion-grid-columns, 12))* 100%) !important; + flex: 0 0 calc(calc(6 / var(--ion-grid-columns, 12))* 100%) !important; + } + + .padding-preview-input{ + padding:0px 20px 20px 20px + } + + .padding-preview-input2{ + padding:0px 20px 20px 20px; + } + } \ No newline at end of file