File tree Expand file tree Collapse file tree 3 files changed +27
-11
lines changed
Expand file tree Collapse file tree 3 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1010 <div class =" modal-bottom" >
1111 <div v-if =" !useCustom" >
1212 <span class =" mr-3 block w-full text-sm font-bold text-gray-500" >Network</span >
13- <div class =" flex" >
14- <select v-model =" selectedToken" class =" w-full sm:w-4/5 container-inputs" >
15- <option v-for =" token in tokens" :value =" token.value" :key =" token.label" >{{
16- token.label
17- }}</option >
18- </select >
13+ <div class =" flex items-center" >
14+ <div class =" inline-block relative w-full sm:w-4/5 mr-3" >
15+ <select
16+ v-model =" selectedToken"
17+ class =" hover:border-gray-500 focus:outline-none focus:shadow-outline container-inputs"
18+ >
19+ <option v-for =" token in tokens" :value =" token.value" :key =" token.label" >{{
20+ token.label
21+ }}</option >
22+ </select >
23+ <div
24+ class =" pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"
25+ >
26+ <svg
27+ class =" fill-current h-4 w-4"
28+ xmlns =" http://www.w3.org/2000/svg"
29+ viewBox =" 0 0 20 20"
30+ >
31+ <path
32+ d =" M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"
33+ />
34+ </svg >
35+ </div >
36+ </div >
1937
2038 <button class =" light-button font-bold sm:w-1/5" @click.prevent =" saveConfigFromNetwork" >
2139 Save
@@ -184,9 +202,7 @@ export default class Modal extends Vue {
184202
185203/* Existing Networks */
186204select {
187- appearance : none ;
188- background : url (" ../assets/img/icons/dropdown.svg" ) 96% / 20px no-repeat transparent ;
189- @apply .bg-white .mr- 4 .py- 2 .border-b- 2 .border-gray- 500 .rounded-none ;
205+ @apply .block .appearance-none .w-full .bg-white .border .border-gray- 400 .px- 4 .py- 2 .pr- 8 .rounded .shadow .leading-tight ;
190206}
191207
192208/* Custom Networks */
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ export const tokens: Record<string, IToken> = {
1313 wif : 170 ,
1414 } ,
1515 } ,
16- }
16+ } ,
1717} ;
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ export default class Wallet extends Vue {
211211 scrollX: 0 ,
212212 scrollY: 0 ,
213213 width: 737 ,
214- height: this .wallet .entropy ? 747 : 600 ,
214+ height: this .wallet .entropy ? 800 : 615 ,
215215 windowWidth: 1024 ,
216216 windowHeight: 800 ,
217217 }).then (canvas => {
You can’t perform that action at this time.
0 commit comments