Skip to content

Commit 59fea62

Browse files
committed
🔨 Reformat popup page
1 parent 641311b commit 59fea62

1 file changed

Lines changed: 44 additions & 37 deletions

File tree

src/Popup.vue

Lines changed: 44 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -174,42 +174,49 @@ html, body {
174174
#popup {
175175
width: 100%;
176176
height: 100%;
177-
}
178-
#popup .container {
179-
padding-left: 20px;
180-
padding-right: 20px;
181-
padding-bottom: 20px;
182-
}
183-
#popup .container header h3 {
184-
margin: 0;
185-
font-weight: 400;
186-
font-size: 20px;
187-
}
188-
#popup .container .loader {
189-
height: 16px;
190-
width: 16px;
191-
}
192-
#popup .container .accounts {
193-
display: grid;
194-
grid-template-columns: 1fr 1fr;
195-
gap: 20px;
196-
}
197-
#popup .container .accounts > div {
198-
padding: 0.75rem 1rem;
199-
border-radius: 4px;
200-
transition: all 0.2s;
201-
overflow: hidden;
202-
}
203-
#popup .container .accounts > div h4 {
204-
margin: 0;
205-
font-weight: normal;
206-
white-space: nowrap;
207-
overflow: hidden;
208-
text-overflow: ellipsis;
209-
}
210-
#popup .container .accounts > div .background-chart {
211-
position: absolute;
212-
bottom: 0;
213-
left: 0;
177+
178+
.container {
179+
padding-left: 20px;
180+
padding-right: 20px;
181+
padding-bottom: 20px;
182+
183+
header h3 {
184+
margin: 0;
185+
font-weight: 400;
186+
font-size: 20px;
187+
}
188+
189+
.loader {
190+
height: 16px;
191+
width: 16px;
192+
}
193+
194+
.accounts {
195+
display: grid;
196+
grid-template-columns: 1fr 1fr;
197+
gap: 20px;
198+
199+
> div {
200+
padding: 0.75rem 1rem;
201+
border-radius: 4px;
202+
transition: all 0.2s;
203+
overflow: hidden;
204+
205+
h4 {
206+
margin: 0;
207+
font-weight: normal;
208+
white-space: nowrap;
209+
overflow: hidden;
210+
text-overflow: ellipsis;
211+
}
212+
213+
.background-chart {
214+
position: absolute;
215+
bottom: 0;
216+
left: 0;
217+
}
218+
}
219+
}
220+
}
214221
}
215222
</style>

0 commit comments

Comments
 (0)