parent
81c85df847
commit
bd46f1fea1
|
@ -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 {
|
||||
padding: 0.25rem 0.25rem;
|
||||
font-size: calc(1rem * var(--small));
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.clock-icon {
|
||||
|
|
Loading…
Reference in a new issue