fix: Kalender Hover-Highlight Style-Binding korrigiert
:style als Objekt statt String damit height/background erhalten bleiben, x-show &&-Operator durch ternary ersetzt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
3aa9eb1633
commit
2cf56a3caf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"resources/css/app.css": {
|
"resources/css/app.css": {
|
||||||
"file": "assets/app-YhqCCiLi.css",
|
"file": "assets/app-C9yp60BI.css",
|
||||||
"name": "app",
|
"name": "app",
|
||||||
"names": [
|
"names": [
|
||||||
"app.css"
|
"app.css"
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-regular.woff2"
|
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-regular.woff2"
|
||||||
},
|
},
|
||||||
"resources/js/app.js": {
|
"resources/js/app.js": {
|
||||||
"file": "assets/app-Nj-qTlGi.js",
|
"file": "assets/app-BjEYLZEv.js",
|
||||||
"name": "app",
|
"name": "app",
|
||||||
"src": "resources/js/app.js",
|
"src": "resources/js/app.js",
|
||||||
"isEntry": true,
|
"isEntry": true,
|
||||||
|
|
|
||||||
|
|
@ -31,10 +31,10 @@
|
||||||
x-on:mouseleave="onTimeLeave($event, {{ $colIndex }})">
|
x-on:mouseleave="onTimeLeave($event, {{ $colIndex }})">
|
||||||
|
|
||||||
{{-- Hover-Highlight --}}
|
{{-- Hover-Highlight --}}
|
||||||
<div class="absolute left-0 right-0 pointer-events-none z-[1]"
|
<div class="absolute left-0 right-0 pointer-events-none"
|
||||||
x-show="hoverCol === {{ $colIndex }} && hoverSlot !== null"
|
x-show="hoverCol === {{ $colIndex }} ? hoverSlot !== null : false"
|
||||||
x-bind:style="hoverSlot !== null ? 'top:' + (hoverSlot * {{ $cellPx / 4 }}) + 'px' : ''"
|
:style="{ top: (hoverSlot * {{ $cellPx / 4 }}) + 'px' }"
|
||||||
style="height: {{ $cellPx / 4 }}px; background: rgba(99,102,241,0.06);"></div>
|
style="height:{{ $cellPx / 4 }}px;background:rgba(99,102,241,0.07);z-index:1;"></div>
|
||||||
|
|
||||||
{{-- Stunden-Linien --}}
|
{{-- Stunden-Linien --}}
|
||||||
@for($h = $hourStart; $h < $hourEnd; $h++)
|
@for($h = $hourStart; $h < $hourEnd; $h++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue