This commit is contained in:
Matej Glasnák committed 2025-12-11 01:14:14 +01:00
1 parent 438d31e254
commit fd74a0fe29
1 file changed
+12 -8
@@ -210,6 +210,10 @@ const dateFormat = computed(() => {
</script> </script>
<style lang="sass" scoped> <style lang="sass" scoped>
.timeblock__header
container-type: inline-size
container-name: timeblock-header
.timeblock__header__top .timeblock__header__top
padding: 8px 16px 0 16px padding: 8px 16px 0 16px
font-weight: 400 font-weight: 400
@@ -223,7 +227,7 @@ const dateFormat = computed(() => {
border-bottom: 1px solid #e5e5e5 border-bottom: 1px solid #e5e5e5
padding: 8px 16px padding: 8px 16px
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
flex-direction: column flex-direction: column
align-items: stretch align-items: stretch
@@ -232,7 +236,7 @@ const dateFormat = computed(() => {
align-items: center align-items: center
justify-content: space-between justify-content: space-between
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
width: 100% width: 100%
.timeblock__date .timeblock__date
@@ -241,7 +245,7 @@ const dateFormat = computed(() => {
flex: 1 flex: 1
max-width: 220px max-width: 220px
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
max-width: 170px max-width: 170px
::v-deep ::v-deep
@@ -322,7 +326,7 @@ const dateFormat = computed(() => {
display: flex display: flex
gap: 10px gap: 10px
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
width: 100% width: 100%
flex: 1 flex: 1
@@ -373,25 +377,25 @@ const dateFormat = computed(() => {
.actions--mobile .actions--mobile
display: none display: none
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
display: flex display: flex
.actions--desktop .actions--desktop
display: block display: block
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
display: none display: none
.timeblock__time-overview__label--desktop .timeblock__time-overview__label--desktop
display: block display: block
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
display: none display: none
.timeblock__time-overview__label--mobile .timeblock__time-overview__label--mobile
display: none display: none
@media (max-width: 768px) @container timeblock-header (max-width: 768px)
display: block display: block
white-space: nowrap white-space: nowrap
</style> </style>