File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ const AccountRefs = (props: any) => {
45
45
window . open ( `${ BASE_URL } /accounts/${ owner } ` , '_blank' ) ;
46
46
if ( err . response ) {
47
47
setLoading ( `${ err . response . statusText } - Opened in a new tab` ) ;
48
+ } else {
49
+ setLoading ( err . message ) ;
48
50
}
49
51
} ) ;
50
52
} else {
@@ -84,7 +86,25 @@ const PreWrapper = styled.div`
84
86
padding: 5px;
85
87
font-size: 80%;
86
88
overflow: scroll;
87
- max-width: 610px;
89
+ max-width: 550px;
90
+ &::-webkit-scrollbar-thumb {
91
+ border-radius: 10px;
92
+ box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
93
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
94
+ background-color: var(--primary);
95
+ }
96
+
97
+ &::-webkit-scrollbar-track {
98
+ box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
99
+ -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
100
+ border-radius: 10px;
101
+ background-color: #f5f5f5;
102
+ }
103
+ &::-webkit-scrollbar {
104
+ width: 8px;
105
+ height: 8px;
106
+ background-color: #f5f5f5;
107
+ }
88
108
}
89
109
` ;
90
110
export default AccountRefs ;
You can’t perform that action at this time.
0 commit comments