From df746c7d69032ba9db5482bafaf344bace6e5a4e Mon Sep 17 00:00:00 2001 From: DanyLE Date: Fri, 16 Dec 2022 21:17:20 +0100 Subject: [PATCH] Improve UI --- src/core/tags/WindowTag.ts | 2 +- src/packages/MarketPlace/main.css | 3 ++- src/packages/MarketPlace/scheme.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/tags/WindowTag.ts b/src/core/tags/WindowTag.ts index 71ee01d..abdda00 100644 --- a/src/core/tags/WindowTag.ts +++ b/src/core/tags/WindowTag.ts @@ -472,7 +472,7 @@ namespace OS { .css("user-select", "none") .css("cursor", "default"); $(this.refs.dragger).on("pointerdown", (e) => { - //e.preventDefault(); + e.originalEvent.preventDefault(); const offset = $(this).offset(); offset.top = e.clientY - offset.top; offset.left = e.clientX - offset.left; diff --git a/src/packages/MarketPlace/main.css b/src/packages/MarketPlace/main.css index 795c085..a9f542f 100644 --- a/src/packages/MarketPlace/main.css +++ b/src/packages/MarketPlace/main.css @@ -26,6 +26,7 @@ afx-app-window[data-id="marketplace-win"] ul[data-id='app-detail'] { } afx-app-window[data-id="marketplace-win"] afx-tab-bar { border-top: 1px solid #c3c3c3; + border-bottom: 1px solid #c3c3c3; } afx-app-window[data-id="marketplace-win"] afx-hbox[data-id="search-container"] input{ border: 0; @@ -117,7 +118,7 @@ afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"] afx-l afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"] > div.list-container > ul li:hover { background-color: transparent; } -afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"]> div.list-container > ul .afx-list-item:nth-child(even) li +afx-app-window[data-id="marketplace-win"] afx-list-view[data-id="applist"]> div.list-container > ul .afx-list-item li { background-color: transparent; } diff --git a/src/packages/MarketPlace/scheme.html b/src/packages/MarketPlace/scheme.html index 23b4b09..e3f3d26 100644 --- a/src/packages/MarketPlace/scheme.html +++ b/src/packages/MarketPlace/scheme.html @@ -16,7 +16,7 @@ -
+