From 34d614c744c9e24c8aeaf98e43f246d0da6864ca Mon Sep 17 00:00:00 2001 From: Phownix Date: Sat, 7 Oct 2023 13:18:54 -0300 Subject: [PATCH 1/3] fix height size --- src/containers/applications/tabs.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/applications/tabs.scss b/src/containers/applications/tabs.scss index 9d8df7a3c..d9ddc00f9 100644 --- a/src/containers/applications/tabs.scss +++ b/src/containers/applications/tabs.scss @@ -147,7 +147,7 @@ } .edgeBrowser .overTool { - height: 26px; + height: 28px; } .addressBar { From 20d5ce54aae5eb2f5aca566d6b51dd1a518279c3 Mon Sep 17 00:00:00 2001 From: Phownix Date: Sat, 7 Oct 2023 13:24:58 -0300 Subject: [PATCH 2/3] simple multiple tabs edge --- src/containers/applications/apps/edge.jsx | 58 ++++++++++++++++++----- src/containers/applications/tabs.scss | 23 +++++++-- src/containers/applications/wnapp.scss | 24 ++++++++++ 3 files changed, 90 insertions(+), 15 deletions(-) diff --git a/src/containers/applications/apps/edge.jsx b/src/containers/applications/apps/edge.jsx index 2460df481..c194f4b58 100644 --- a/src/containers/applications/apps/edge.jsx +++ b/src/containers/applications/apps/edge.jsx @@ -8,6 +8,7 @@ export const EdgeMenu = () => { const [ierror, setErr] = useState(true); const [isTyping, setTyping] = useState(false); const [hist, setHist] = useState(["https://bing.com", "https://bing.com"]); + const [actualTab, setActualTab] = useState("search"); const dispatch = useDispatch(); const iframes = { @@ -94,6 +95,38 @@ export const EdgeMenu = () => { setErr(false); }; + const pageDocument = () => { + if(actualTab === "search"){ + return ( + + + + ) + } else { + return ( +
+ Contributors + Contributors +
+ ) + } + } + + const updateTab = { + _search : () => { + setActualTab("search") + }, + _contributors : () => { + setActualTab("contributors") + } + } + useEffect(() => { if (wnapp.url) { setTyping(false); @@ -124,8 +157,17 @@ export const EdgeMenu = () => {
-
-
New Tab
+
+
Search
+ +
+
+
Contributors
{ />
+
{
- - - + + {pageDocument()}
Date: Sat, 7 Oct 2023 13:31:09 -0300 Subject: [PATCH 3/3] padding addressBar input --- src/containers/applications/tabs.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/containers/applications/tabs.scss b/src/containers/applications/tabs.scss index d88667b34..b65bcf8f7 100644 --- a/src/containers/applications/tabs.scss +++ b/src/containers/applications/tabs.scss @@ -182,6 +182,8 @@ color: var(--txt-col); border-radius: 4px; border: solid 1px var(--comp-txt); + padding: .85rem 1rem; + padding-top: .75rem; } }