From 76c040108030a19e3fa42d8a4f042052e6bfce95 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 20 Jun 2024 16:23:39 +0530 Subject: remove ;.* from style --- blocks/authAPI/templates/css/normalize.css | 2 +- blocks/authAPI/templates/css/skeleton.css | 25 +++++++++++----------- blocks/eda-frontend/.nvmrc | 2 +- .../SchematicEditor/Helper/ComponentDrag.js | 2 +- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/blocks/authAPI/templates/css/normalize.css b/blocks/authAPI/templates/css/normalize.css index a0a96625..cbd074fe 100644 --- a/blocks/authAPI/templates/css/normalize.css +++ b/blocks/authAPI/templates/css/normalize.css @@ -230,7 +230,7 @@ code, kbd, pre, samp { - font-family: monospace, monospace; + font-family: monospace; font-size: 1em; } diff --git a/blocks/authAPI/templates/css/skeleton.css b/blocks/authAPI/templates/css/skeleton.css index f28bf6c5..454c4ea1 100644 --- a/blocks/authAPI/templates/css/skeleton.css +++ b/blocks/authAPI/templates/css/skeleton.css @@ -225,14 +225,6 @@ input[type="button"].button-primary:focus { /* Forms –––––––––––––––––––––––––––––––––––––––––––––––––– */ -input[type="email"], -input[type="number"], -input[type="search"], -input[type="text"], -input[type="tel"], -input[type="url"], -input[type="password"], -textarea, select { height: 38px; padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ @@ -250,6 +242,13 @@ input[type="tel"], input[type="url"], input[type="password"], textarea { + height: 38px; + padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ + background-color: #fff; + border: 1px solid #D1D1D1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; appearance: none; } @@ -403,16 +402,16 @@ there. /* Larger than mobile */ -@media (min-width: 400px) {} +/* @media (min-width: 400px) {} */ /* Larger than phablet (also point when grid becomes active) */ -@media (min-width: 550px) {} +/* @media (min-width: 550px) {} */ /* Larger than tablet */ -@media (min-width: 750px) {} +/* @media (min-width: 750px) {} */ /* Larger than desktop */ -@media (min-width: 1000px) {} +/* @media (min-width: 1000px) {} */ /* Larger than Desktop HD */ -@media (min-width: 1200px) {} +/* @media (min-width: 1200px) {} */ diff --git a/blocks/eda-frontend/.nvmrc b/blocks/eda-frontend/.nvmrc index 123b0527..3c032078 100644 --- a/blocks/eda-frontend/.nvmrc +++ b/blocks/eda-frontend/.nvmrc @@ -1 +1 @@ -18.20.2 +18 diff --git a/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js b/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js index f5b9cc81..c608dea3 100644 --- a/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js +++ b/blocks/eda-frontend/src/components/SchematicEditor/Helper/ComponentDrag.js @@ -229,7 +229,7 @@ export default function LoadGrid (container, sidebar, outline) { } graph.convertValueToString = function (cell) { - const attribute = cell.style + const attribute = cell.style.replace(/;.*/, '') if (attribute == null) { return '' } -- cgit