@@ -58,10 +58,10 @@
-
+
{{ contractDetails.createTransactionHash }}
-
+
{{ formatEllipseHash(contractDetails.createTransactionHash) }}
@@ -94,10 +94,10 @@
|
-
+
{{ contractDetails.createdBy }}
-
+
{{ formatEllipseHash(contractDetails.createdBy) }}
@@ -127,10 +127,10 @@
|
-
+
{{ contractDetails.contractAccount }}
-
+
{{ formatEllipseHash(contractDetails.contractAccount) }}
@@ -273,18 +273,5 @@ const contractMiddlewareUrl = computed(() =>
margin-bottom: 0;
}
}
-
- &__hash {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
-
- &__hash-ellipse {
- @media (--desktop) {
- display: none;
- }
- }
}
diff --git a/src/components/ContractEventsPanel.vue b/src/components/ContractEventsPanel.vue
index d3dee01ff..2b4667126 100644
--- a/src/components/ContractEventsPanel.vue
+++ b/src/components/ContractEventsPanel.vue
@@ -9,13 +9,13 @@
v-if="contractEvents"
:contract-details="contractDetails"
:contract-events="contractEvents"
- class="contract-events-panel__table"/>
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -40,20 +40,3 @@ function loadNextEvents() {
fetchContractEvents({ queryParameters: contractEvents.value.next })
}
-
-
diff --git a/src/components/ContractsPanel.vue b/src/components/ContractsPanel.vue
index 91b5b6d04..1655401f8 100644
--- a/src/components/ContractsPanel.vue
+++ b/src/components/ContractsPanel.vue
@@ -8,12 +8,12 @@
pagination-style="history"
@prev-clicked="loadPrevContracts"
@next-clicked="loadNextContracts">
-
+ class="u-hidden-mobile"/>
+
@@ -53,20 +53,3 @@ if (process.client) {
}
-
-
diff --git a/src/components/DashboardAuctionsPanel.vue b/src/components/DashboardAuctionsPanel.vue
index e40f2a5a7..ad5f73fef 100644
--- a/src/components/DashboardAuctionsPanel.vue
+++ b/src/components/DashboardAuctionsPanel.vue
@@ -11,8 +11,8 @@
name. The shorter the name, the longer the auction lives.
-
-
+
+
@@ -26,18 +26,5 @@ import AppPanel from '@/components/AppPanel'
@media (--desktop) {
padding: var(--space-4);
}
-
- &__swiper {
- @media (--desktop) {
- display: none;
- }
- }
-
- &__table {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
}
diff --git a/src/components/DashboardKeyblockPanel.vue b/src/components/DashboardKeyblockPanel.vue
index ec3c3856b..30b61c094 100644
--- a/src/components/DashboardKeyblockPanel.vue
+++ b/src/components/DashboardKeyblockPanel.vue
@@ -45,13 +45,13 @@
@@ -95,9 +95,7 @@ const {
}
&__keyblock-table {
- display: none;
@media (--desktop) {
- display: revert;
margin-bottom: var(--space-2);
}
}
@@ -106,7 +104,6 @@ const {
margin: var(--space-4) 0;
@media (--desktop) {
margin: 0;
- display: none;
}
}
diff --git a/src/components/DashboardNamesPanel.vue b/src/components/DashboardNamesPanel.vue
index 8bbc2a613..1cde7cc97 100644
--- a/src/components/DashboardNamesPanel.vue
+++ b/src/components/DashboardNamesPanel.vue
@@ -10,8 +10,8 @@
through an expired auction (name length <= 12).
-
-
+
+
@@ -25,18 +25,5 @@ import AppPanel from '@/components/AppPanel'
@media (--desktop) {
padding: var(--space-4);
}
-
- &__swiper {
- @media (--desktop) {
- display: none;
- }
- }
-
- &__table {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
}
diff --git a/src/components/DashboardStateChannelsPanel.vue b/src/components/DashboardStateChannelsPanel.vue
index 29b5f73d7..ac34e6dbb 100644
--- a/src/components/DashboardStateChannelsPanel.vue
+++ b/src/components/DashboardStateChannelsPanel.vue
@@ -9,8 +9,8 @@
{{ stateChannelsHints.stateChannel }}
-
-
+
+
diff --git a/src/components/MicroblockTransactionsPanel.vue b/src/components/MicroblockTransactionsPanel.vue
index fed54443a..4bcc0de60 100644
--- a/src/components/MicroblockTransactionsPanel.vue
+++ b/src/components/MicroblockTransactionsPanel.vue
@@ -10,10 +10,10 @@
@next-clicked="loadNextTransactions">
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -46,20 +46,3 @@ if (process.client) {
})
}
-
-
diff --git a/src/components/NameDetailsPanel.vue b/src/components/NameDetailsPanel.vue
index b49e29654..20c8a5b3e 100644
--- a/src/components/NameDetailsPanel.vue
+++ b/src/components/NameDetailsPanel.vue
@@ -24,10 +24,10 @@
|
-
+
{{ name.owner }}
-
+
{{ formatEllipseHash(name.owner) }}
@@ -44,10 +44,10 @@
|
-
+
{{ name.bidder }}
-
+
{{ formatEllipseHash(name.bidder) }}
@@ -182,19 +182,6 @@ const isNameInAuction = computed(() =>
text-align: right;
}
- &__link-text {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
-
- &__link-text-ellipse {
- @media (--desktop) {
- display: none;
- }
- }
-
&__name {
overflow-wrap: anywhere;
}
diff --git a/src/components/NameHistoryPanel.vue b/src/components/NameHistoryPanel.vue
index 322ba9ca8..ffb631bbd 100644
--- a/src/components/NameHistoryPanel.vue
+++ b/src/components/NameHistoryPanel.vue
@@ -7,12 +7,12 @@
@next-clicked="loadNextActions">
@@ -40,20 +40,9 @@ function loadNextActions() {
diff --git a/src/components/NamePointersSpecialPanel.vue b/src/components/NamePointersSpecialPanel.vue
index 15eb18c30..f01ea37af 100644
--- a/src/components/NamePointersSpecialPanel.vue
+++ b/src/components/NamePointersSpecialPanel.vue
@@ -16,10 +16,10 @@
-
+
{{ name.specialPointers.account }}
-
+
{{ formatEllipseHash(name.specialPointers.account) }}
@@ -40,10 +40,10 @@
-
+
{{ name.specialPointers.channel }}
-
+
{{ formatEllipseHash(name.specialPointers.channel) }}
@@ -64,10 +64,10 @@
-
+
{{ name.specialPointers.contract }}
-
+
{{ formatEllipseHash(name.specialPointers.contract) }}
@@ -87,10 +87,10 @@
-
+
{{ name.specialPointers.oracle }}
-
+
{{ formatEllipseHash(name.specialPointers.oracle) }}
@@ -123,19 +123,6 @@ const { name } = storeToRefs(useNameDetailsStore())
text-align: right;
}
- &__link-text {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
-
- &__link-text-ellipse {
- @media (--desktop) {
- display: none;
- }
- }
-
&__table-header {
border-bottom: 1px solid var(--color-midnight-25);
}
diff --git a/src/components/NamesActivePanel.vue b/src/components/NamesActivePanel.vue
index 25b2d4ee5..38e9e46b7 100644
--- a/src/components/NamesActivePanel.vue
+++ b/src/components/NamesActivePanel.vue
@@ -6,12 +6,12 @@
@next-clicked="loadNextNames">
@@ -39,20 +39,9 @@ function loadNextNames() {
diff --git a/src/components/NamesExpiredPanel.vue b/src/components/NamesExpiredPanel.vue
index ad873b88d..f305d84bf 100644
--- a/src/components/NamesExpiredPanel.vue
+++ b/src/components/NamesExpiredPanel.vue
@@ -6,12 +6,12 @@
@next-clicked="loadNextNames">
@@ -39,20 +39,9 @@ function loadNextNames() {
diff --git a/src/components/NamesInAuctionPanel.vue b/src/components/NamesInAuctionPanel.vue
index b60b93db7..540cd2dc4 100644
--- a/src/components/NamesInAuctionPanel.vue
+++ b/src/components/NamesInAuctionPanel.vue
@@ -7,11 +7,11 @@
@prev-clicked="loadPrevNames"
@next-clicked="loadNextNames">
@@ -39,20 +39,7 @@ function loadNextNames() {
diff --git a/src/components/NftTransfersPanel.vue b/src/components/NftTransfersPanel.vue
index ced4c570b..e3d60cc0a 100644
--- a/src/components/NftTransfersPanel.vue
+++ b/src/components/NftTransfersPanel.vue
@@ -7,11 +7,11 @@
@prev-clicked="loadPrevNftTransfers"
@next-clicked="loadNextNftTransfers">
@@ -47,20 +47,3 @@ if (process.client) {
})
}
-
-
diff --git a/src/components/NftsInventoryPanel.vue b/src/components/NftsInventoryPanel.vue
index 16a9091b1..0300a6ed5 100644
--- a/src/components/NftsInventoryPanel.vue
+++ b/src/components/NftsInventoryPanel.vue
@@ -8,10 +8,10 @@
@prev-clicked="loadPrevNftInventory">
+ class="nfts-inventory-panel__table u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -43,19 +43,7 @@ if (process.client) {
diff --git a/src/components/NftsOwnersPanel.vue b/src/components/NftsOwnersPanel.vue
index ce55f9563..1e79ac274 100644
--- a/src/components/NftsOwnersPanel.vue
+++ b/src/components/NftsOwnersPanel.vue
@@ -7,10 +7,10 @@
@prev-clicked="loadPrevNftowners">
+ class="nfts-owners-panel__table u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -36,19 +36,7 @@ async function loadPrevNftowners() {
diff --git a/src/components/NftsPanel.vue b/src/components/NftsPanel.vue
index 0e8e92821..96728f069 100644
--- a/src/components/NftsPanel.vue
+++ b/src/components/NftsPanel.vue
@@ -9,10 +9,10 @@
@next-clicked="loadNextNfts">
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -45,20 +45,3 @@ if (process.client) {
}
-
-
diff --git a/src/components/NftsTemplatesOwnersPanel.vue b/src/components/NftsTemplatesOwnersPanel.vue
index 7ff3d2c7b..d7f66333c 100644
--- a/src/components/NftsTemplatesOwnersPanel.vue
+++ b/src/components/NftsTemplatesOwnersPanel.vue
@@ -7,10 +7,10 @@
@prev-clicked="loadPrevNftowners">
+ class="nfts-templates-owners-panel__table u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -46,17 +46,7 @@ async function loadPrevNftowners() {
}
&__table {
- display: none;
margin-bottom: var(--space-4);
- @media (--desktop) {
- display: revert;
- }
- }
-
- &__table-condensed {
- @media (--desktop) {
- display: none;
- }
}
}
diff --git a/src/components/NftsTransfersPanel.vue b/src/components/NftsTransfersPanel.vue
index a60f85c9a..26c45e0bc 100644
--- a/src/components/NftsTransfersPanel.vue
+++ b/src/components/NftsTransfersPanel.vue
@@ -7,10 +7,10 @@
@prev-clicked="loadPrevNftTransfers"
@next-clicked="loadNextNftTransfers">
@@ -35,20 +35,3 @@ async function loadNextNftTransfers() {
await fetchNftTransfers({ queryParameters: nftTransfers.value.next })
}
-
-
diff --git a/src/components/OracleEventsPanel.vue b/src/components/OracleEventsPanel.vue
index ef4f7cf1d..e82be590d 100644
--- a/src/components/OracleEventsPanel.vue
+++ b/src/components/OracleEventsPanel.vue
@@ -8,11 +8,11 @@
@next-clicked="loadNextEvents">
+ class="oracle-events-panel__table u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -45,19 +45,8 @@ if (process.client) {
diff --git a/src/components/OraclesPanel.vue b/src/components/OraclesPanel.vue
index b2470944a..268ea30ec 100644
--- a/src/components/OraclesPanel.vue
+++ b/src/components/OraclesPanel.vue
@@ -11,10 +11,10 @@
@@ -91,20 +91,3 @@ if (process.client) {
}
-
-
diff --git a/src/components/SearchNamesPanel.vue b/src/components/SearchNamesPanel.vue
index 9fdeaffd8..f3a425491 100644
--- a/src/components/SearchNamesPanel.vue
+++ b/src/components/SearchNamesPanel.vue
@@ -7,10 +7,10 @@
@next-clicked="loadNextNames">
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -38,20 +38,3 @@ async function loadNextNames() {
await fetchNamesResults({ queryParameters: namesResults.value.next })
}
-
-
diff --git a/src/components/SearchTokensPanel.vue b/src/components/SearchTokensPanel.vue
index 56653c25a..831ed6473 100644
--- a/src/components/SearchTokensPanel.vue
+++ b/src/components/SearchTokensPanel.vue
@@ -7,10 +7,10 @@
@next-clicked="loadNextTokens">
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -37,20 +37,3 @@ async function loadNextTokens() {
await fetchTokenResults({ queryParameters: tokensResults.value.next })
}
-
-
diff --git a/src/components/StateChannelTransactionsPanel.vue b/src/components/StateChannelTransactionsPanel.vue
index ca4c57674..a3e853c6a 100644
--- a/src/components/StateChannelTransactionsPanel.vue
+++ b/src/components/StateChannelTransactionsPanel.vue
@@ -11,11 +11,11 @@
@prev-clicked="loadPrevTransactions"
@next-clicked="loadNextTransactions">
@@ -55,20 +55,3 @@ if (process.client) {
})
}
-
-
diff --git a/src/components/StateChannelsPanel.vue b/src/components/StateChannelsPanel.vue
index 3ee3f6d0f..cbebc17c1 100644
--- a/src/components/StateChannelsPanel.vue
+++ b/src/components/StateChannelsPanel.vue
@@ -10,10 +10,10 @@
@next-clicked="loadNextStateChannels">
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -56,20 +56,3 @@ if (process.client) {
loadStateChannels()
}
-
-
diff --git a/src/components/TheFooter.vue b/src/components/TheFooter.vue
index 638aa649a..72d22ef36 100644
--- a/src/components/TheFooter.vue
+++ b/src/components/TheFooter.vue
@@ -76,7 +76,7 @@
-
+
@@ -221,11 +221,8 @@ const links = {
}
&__divider {
- display: none;
-
@media (--desktop) {
margin: 80px 0;
- display: revert;
}
}
}
diff --git a/src/components/TokenDetailsPanel.vue b/src/components/TokenDetailsPanel.vue
index 15fa78726..242852628 100644
--- a/src/components/TokenDetailsPanel.vue
+++ b/src/components/TokenDetailsPanel.vue
@@ -69,10 +69,10 @@
|
-
+
{{ tokenDetails.contractId }}
-
+
{{ formatEllipseHash(tokenDetails.contractId) }}
@@ -233,18 +233,5 @@ const marketCap = computed(() =>
height: 24px;
}
}
-
- &__hash {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
-
- &__hash-ellipse {
- @media (--desktop) {
- display: none;
- }
- }
}
diff --git a/src/components/TokenEventsPanel.vue b/src/components/TokenEventsPanel.vue
index 3c13cfbef..618749af1 100644
--- a/src/components/TokenEventsPanel.vue
+++ b/src/components/TokenEventsPanel.vue
@@ -9,11 +9,11 @@
+ class="token-events-panel__table u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -48,19 +48,7 @@ if (process.client) {
diff --git a/src/components/TokenHoldersPanel.vue b/src/components/TokenHoldersPanel.vue
index bb3c52bcf..2e551d3e5 100644
--- a/src/components/TokenHoldersPanel.vue
+++ b/src/components/TokenHoldersPanel.vue
@@ -8,13 +8,13 @@
v-if="tokenHolders"
:token-holders="tokenHolders"
:token-details="tokenDetails"
- class="token-holders-panel__table"/>
+ class="u-hidden-mobile"/>
+ class="u-hidden-desktop"/>
@@ -46,21 +46,3 @@ if (process.client) {
})
}
-
-
diff --git a/src/components/TokensPanel.vue b/src/components/TokensPanel.vue
index 07be97758..538ac5ef1 100644
--- a/src/components/TokensPanel.vue
+++ b/src/components/TokensPanel.vue
@@ -12,11 +12,11 @@
@@ -63,20 +63,3 @@ if (process.client) {
}
-
-
diff --git a/src/components/TransactionPointersPanel.vue b/src/components/TransactionPointersPanel.vue
index 61b4e83a0..f2686ed35 100644
--- a/src/components/TransactionPointersPanel.vue
+++ b/src/components/TransactionPointersPanel.vue
@@ -16,10 +16,10 @@
-
+
{{ pointers.accountPubkey }}
-
+
{{ formatEllipseHash(pointers.accountPubkey) }}
@@ -50,10 +50,10 @@
-
+
{{ pointers.contractPubkey }}
-
+
{{ formatEllipseHash(pointers.contractPubkey) }}
@@ -111,19 +111,6 @@ const pointers = computed(() => {
text-align: right;
}
- &__link-text {
- display: none;
- @media (--desktop) {
- display: revert;
- }
- }
-
- &__link-text-ellipse {
- @media (--desktop) {
- display: none;
- }
- }
-
&__row:last-of-type &__table-header {
border-bottom: 0;
}
diff --git a/src/components/TransactionsPanel.vue b/src/components/TransactionsPanel.vue
index 497db7ddf..ec0e2db68 100644
--- a/src/components/TransactionsPanel.vue
+++ b/src/components/TransactionsPanel.vue
@@ -11,12 +11,12 @@
-
+ class="u-hidden-mobile"/>
+
@@ -80,20 +80,3 @@ if (process.client) {
loadTransactions()
}
-
-
diff --git a/src/styles/main.css b/src/styles/main.css
index 865b35cc7..1121e77e7 100644
--- a/src/styles/main.css
+++ b/src/styles/main.css
@@ -16,6 +16,7 @@
@import "elements/_table.css";
@import "utilities/_ellipsis.css";
+@import "utilities/_responsive.css";
/* 3rd party components */
@import 'floating-vue/dist/style.css';
diff --git a/src/styles/utilities/_responsive.css b/src/styles/utilities/_responsive.css
new file mode 100644
index 000000000..3317d683c
--- /dev/null
+++ b/src/styles/utilities/_responsive.css
@@ -0,0 +1,12 @@
+.u-hidden-desktop {
+ @media (--desktop) {
+ display: none;
+ }
+}
+
+.u-hidden-mobile {
+ display: none;
+ @media (--desktop) {
+ display: revert;
+ }
+}
\ No newline at end of file
|