优化 主题代码同步
This commit is contained in:
1 parent
92c7b62c5d
commit
80349d54b5
8 files changed
+122
-351
No files matched your search
@@ -425,11 +425,13 @@ function ImageWaterfall() {
|
||||
style={{ width: `${image.calculatedWidth}px` }}
|
||||
>
|
||||
<div
|
||||
className="relative group cursor-pointer overflow-hidden rounded-lg transition-all hover:shadow-lg"
|
||||
className={`relative group cursor-pointer overflow-hidden rounded-lg transition-all hover:shadow-lg ${
|
||||
isSelected
|
||||
? 'border-2 border-blue-400 dark:border-blue-500'
|
||||
: 'border border-gray-200 dark:border-gray-600'
|
||||
}`}
|
||||
style={{
|
||||
height: `${image.calculatedHeight}px`,
|
||||
backgroundColor: '#2a2a2a',
|
||||
border: isSelected ? '3px solid #3b82f6' : '3px solid transparent'
|
||||
height: `${image.calculatedHeight}px`
|
||||
}}
|
||||
onClick={(e) => handleImageClick(image, e, flatIndex)}
|
||||
onDoubleClick={() => {
|
||||
|
||||
Reference in new issue
Block a user