Skip to content

Commit

Permalink
more styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Werner Van der Merwe authored and Werner Van der Merwe committed May 12, 2024
1 parent 091ce08 commit 8a73ab6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vrfd",
"version": "0.4.2",
"version": "0.4.3",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Verified.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default {
shortenAddr(addr: string) {
if (this.windowWidth <= 768) {
if (addr.length < 10) return addr;
return `${addr.slice(0, 8)}...${addr.slice(addr.length - 8)}`;
return `${addr.slice(0, 6)}...${addr.slice(addr.length - 4)}`;
}
return addr;
},
Expand Down

0 comments on commit 8a73ab6

Please sign in to comment.