Skip to content

Commit ed9f454

Browse files
committed
fix some stuff
1 parent c77f741 commit ed9f454

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

src/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,7 @@ input {
9191
color: inherit;
9292
outline: none;
9393
}
94+
95+
.error {
96+
color: var(--txt-err);
97+
}

src/lib/components/Clock.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
})
6060
</script>
6161

62-
<div class="datetime panel">
62+
<div class="panel">
6363
<div class="panel-label">datetime</div>
6464
<div class="clock">
6565
{currentHrs}<span class="colon">:</span>{currentMin}<span class="colon"
@@ -73,7 +73,7 @@
7373
</div>
7474

7575
<style>
76-
.datetime {
76+
.panel {
7777
flex: 1;
7878
}
7979
.clock {

src/lib/components/Links.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
})
1515
</script>
1616

17-
<div class="links panel">
17+
<div class="panel">
1818
<div class="panel-label">links</div>
1919
{#each columns as column}
2020
<div class="column">
@@ -35,7 +35,7 @@
3535
</div>
3636

3737
<style>
38-
.links {
38+
.panel {
3939
display: flex;
4040
}
4141
.link {

src/lib/components/Stats.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
})
9292
</script>
9393

94-
<div class="stats panel">
94+
<div class="panel">
9595
<div class="panel-label">stats</div>
9696
<div>load <span class="value">{loadTime} ms</span></div>
9797
<div>ping <span class="value">{latency || '?'} ms</span></div>

src/lib/components/Todoist.svelte

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
})
164164
</script>
165165

166-
<div class="todoist panel">
166+
<div class="panel">
167167
<button
168168
class="widget-label"
169169
onclick={() => loadTasks(true)}
@@ -223,6 +223,9 @@
223223
</div>
224224

225225
<style>
226+
.panel {
227+
flex: 1;
228+
}
226229
.widget-header {
227230
display: flex;
228231
justify-content: space-between;
@@ -232,19 +235,15 @@
232235
overflow: auto;
233236
scrollbar-width: none;
234237
}
235-
236238
.task-due {
237239
color: var(--txt-3);
238240
}
239-
240241
.task-project {
241242
color: var(--txt-3);
242243
}
243-
244244
.task.completed .task-title {
245245
text-decoration: line-through;
246246
}
247-
248247
.overdue-date {
249248
color: var(--txt-err);
250249
}

src/lib/components/Weather.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
})
8888
</script>
8989

90-
<div class="weather panel">
90+
<div class="panel">
9191
<button class="widget-label" onclick={refreshWeather} disabled={loading}>
9292
{loading ? 'loading...' : 'weather'}
9393
</button>

0 commit comments

Comments
 (0)