File tree Expand file tree Collapse file tree 6 files changed +14
-11
lines changed
Expand file tree Collapse file tree 6 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -91,3 +91,7 @@ input {
9191 color : inherit;
9292 outline : none;
9393}
94+
95+ .error {
96+ color : var (--txt-err );
97+ }
Original file line number Diff line number Diff line change 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"
7373</div >
7474
7575<style >
76- .datetime {
76+ .panel {
7777 flex : 1 ;
7878 }
7979 .clock {
Original file line number Diff line number Diff line change 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" >
3535</div >
3636
3737<style >
38- .links {
38+ .panel {
3939 display : flex ;
4040 }
4141 .link {
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 163163 })
164164 </script >
165165
166- <div class =" todoist panel" >
166+ <div class =" panel" >
167167 <button
168168 class =" widget-label"
169169 onclick ={() => loadTasks (true )}
223223</div >
224224
225225<style >
226+ .panel {
227+ flex : 1 ;
228+ }
226229 .widget-header {
227230 display : flex ;
228231 justify-content : space-between ;
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 }
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments