Fix issue#7: resize start-time badge in Event card

Closes #7
This commit is contained in:
summersamara 2023-10-07 18:25:55 +02:00
parent 81c85df847
commit bd46f1fea1

View file

@ -30,19 +30,15 @@ const time = computed<string>(() =>
dateObj.value.toLocaleTimeString(undefined, { hour: "2-digit", minute: "2-digit" })
);
const smallStyle = computed<string>(() => (props.small ? "1.2" : "2"));
const smallStyle = computed<string>(() => (props.small ? "0.9" : "2"));
</script>
<style lang="scss" scoped>
div.starttime-container {
width: auto;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
height: calc(40px * var(--small));
}
.starttime-container-content {
font-size: calc(1rem * var(--small));
padding: 0 0.5rem;
padding: 0.25rem 0.25rem;
font-size: calc(1rem * var(--small));
}
.clock-icon {