From c787f242366edaa9cccb3bb4a1741620650e10c1 Mon Sep 17 00:00:00 2001 From: Wan <495709+wa0x6e@users.noreply.github.com> Date: Mon, 29 Jul 2024 22:35:23 +0900 Subject: [PATCH] chore: optimize Tailwind CSS classes (#549) * fix: fix and improve css classes * fix: css fix and improvement * fix: css fix and improvement * fix: typo fix * fix: more css class shorthand * fix: revert changes * fix: revert to use pixels in size * fix: revert h and w to use px values * fix: revert changes * fix: revert unrelated changes * fix: fix wrong classname * fix: link fix * fix: remove text-color class * fix: fix incorrect search/replace --- apps/ui/src/components/App/Nav.vue | 2 +- apps/ui/src/components/App/Notifications.vue | 2 +- apps/ui/src/components/App/Sidebar.vue | 4 ++-- apps/ui/src/components/App/Topnav.vue | 4 ++-- apps/ui/src/components/AppsListItem.vue | 2 +- apps/ui/src/components/EditorChoices.vue | 4 ++-- apps/ui/src/components/FormNetwork.vue | 2 +- apps/ui/src/components/FormProfile.vue | 2 +- apps/ui/src/components/Modal/Account.vue | 15 ++++-------- apps/ui/src/components/Modal/Connector.vue | 4 +--- apps/ui/src/components/Modal/Delegate.vue | 2 +- .../src/components/Modal/DelegationConfig.vue | 2 +- apps/ui/src/components/Modal/EditSpace.vue | 2 +- apps/ui/src/components/Modal/EditStrategy.vue | 2 +- apps/ui/src/components/Modal/EditUser.vue | 2 +- .../components/Modal/LinkWalletConnect.vue | 5 +--- .../src/components/Modal/SelectVotingType.vue | 2 +- apps/ui/src/components/Modal/SendNft.vue | 2 +- apps/ui/src/components/Modal/SendToken.vue | 4 ++-- apps/ui/src/components/Modal/StakeToken.vue | 10 +++----- apps/ui/src/components/Modal/Timeline.vue | 4 ++-- apps/ui/src/components/Modal/Transaction.vue | 2 +- .../src/components/Modal/TreasuryConfig.vue | 2 +- apps/ui/src/components/Modal/Votes.vue | 4 ++-- apps/ui/src/components/PickerNft.vue | 2 +- apps/ui/src/components/PickerToken.vue | 2 +- .../components/ProposalExecutionActions.vue | 4 ++-- apps/ui/src/components/ProposalResults.vue | 16 ++++++------- apps/ui/src/components/ProposalStatus.vue | 10 ++++---- apps/ui/src/components/ProposalVoteBasic.vue | 12 +++++----- .../src/components/ProposalVoteWeighted.vue | 2 +- apps/ui/src/components/ProposalsListItem.vue | 6 ++--- apps/ui/src/components/SpaceCover.vue | 2 +- apps/ui/src/components/SpaceTreasury.vue | 2 +- apps/ui/src/components/Ui/Composer.vue | 18 +++++++-------- apps/ui/src/components/Ui/Editable.vue | 2 +- apps/ui/src/components/Ui/InputStamp.vue | 8 +++---- apps/ui/src/components/Ui/InputStampCover.vue | 8 +++---- apps/ui/src/components/Ui/Link.vue | 2 +- apps/ui/src/components/Ui/Modal.vue | 2 +- apps/ui/src/components/Ui/SelectDropdown.vue | 6 ++--- apps/ui/src/style.scss | 4 ++-- apps/ui/src/views/App.vue | 4 ++-- apps/ui/src/views/Apps.vue | 8 +++---- apps/ui/src/views/Editor.vue | 4 +--- apps/ui/src/views/Landing.vue | 2 +- apps/ui/src/views/My.vue | 2 +- apps/ui/src/views/Network.vue | 2 +- apps/ui/src/views/Proposal/Overview.vue | 23 ++++++++----------- apps/ui/src/views/Proposal/Votes.vue | 14 +++++------ apps/ui/src/views/Settings.vue | 2 +- apps/ui/src/views/Space.vue | 2 +- apps/ui/src/views/Space/Overview.vue | 14 +++++------ apps/ui/src/views/SpaceUser.vue | 12 ++++------ apps/ui/src/views/SpaceUser/Statement.vue | 6 ++--- apps/ui/src/views/User.vue | 10 ++++---- 56 files changed, 134 insertions(+), 165 deletions(-) diff --git a/apps/ui/src/components/App/Nav.vue b/apps/ui/src/components/App/Nav.vue index 9c20b9117..b440cc92f 100644 --- a/apps/ui/src/components/App/Nav.vue +++ b/apps/ui/src/components/App/Nav.vue @@ -163,7 +163,7 @@ const navigationItems = computed(() =>