mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-23 05:35:07 +02:00
💄 Minor widget style improvements
This commit is contained in:
parent
e55c51abd7
commit
ce8cdd3bfd
@ -35,7 +35,7 @@ export default {
|
|||||||
filters: {
|
filters: {
|
||||||
/* For a given time zone, return just the city name */
|
/* For a given time zone, return just the city name */
|
||||||
getCity(timeZone) {
|
getCity(timeZone) {
|
||||||
return timeZone.split('/')[1];
|
return timeZone.split('/')[1].replaceAll('_', ' ');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -84,12 +84,15 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clock {
|
.clock {
|
||||||
|
padding: 0.5rem 0;
|
||||||
.upper {
|
.upper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border-radius: var(--curve-factor);
|
border-radius: var(--curve-factor);
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
background: var(--widget-accent-color);
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
color: var(--widget-text-color);
|
color: var(--widget-text-color);
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user