From 1339fca75fa7f4d4f396ec8bd7044175016c0af5 Mon Sep 17 00:00:00 2001
From: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>
Date: Tue, 26 Mar 2024 19:58:45 +0300
Subject: [PATCH] Add skeleton to swap distribution widget (#1361)
* add distribution skeleton, set tx table columns width
* fix distribution sources css
* fix flex-cell
* return sidebar collapsed css
* Update substrate lib
---------
Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
---
package.json | 2 +-
src/App.vue | 15 ++
.../pages/Swap/Widget/Distribution.vue | 137 ++++++++++++++----
.../pages/Swap/Widget/Transactions.vue | 6 +-
yarn.lock | 100 ++++++-------
5 files changed, 173 insertions(+), 87 deletions(-)
diff --git a/package.json b/package.json
index b4763b1e6..5d927e55e 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,7 @@
},
"dependencies": {
"@metamask/detect-provider": "^2.0.0",
- "@soramitsu/soraneo-wallet-web": "1.32.5",
+ "@soramitsu/soraneo-wallet-web": "1.32.6",
"@walletconnect/ethereum-provider": "^2.11.2",
"@walletconnect/modal": "^2.6.2",
"core-js": "^3.36.0",
diff --git a/src/App.vue b/src/App.vue
index 9f37c6dfe..121228001 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -571,6 +571,21 @@ i.icon-divider {
justify-content: center;
}
}
+
+@include desktop {
+ .app-main {
+ .app-menu {
+ &:not(.collapsed) {
+ position: relative;
+ }
+ &.collapsed {
+ & + .app-body {
+ margin-left: 74px;
+ }
+ }
+ }
+ }
+}
+