mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-16 12:26:42 -04:00
[ENG-1529] Round thumbnails for labels (#1981)
* rounded corner for labels * can't forget list view
This commit is contained in:
@@ -6,6 +6,7 @@ repository = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["ai-models"]
|
||||
assets = []
|
||||
ai-models = ["sd-core/ai"]
|
||||
|
||||
|
||||
@@ -85,6 +85,7 @@ const ItemFileThumb = () => {
|
||||
extension
|
||||
className={clsx('px-2 py-1', item.cut && 'opacity-60')}
|
||||
ref={setDraggableRef}
|
||||
frameClassName={clsx(item.data.type === "Label" && "!rounded-2xl")}
|
||||
childProps={{
|
||||
style,
|
||||
...attributes,
|
||||
|
||||
@@ -38,7 +38,7 @@ const NameCell = memo(({ item, selected }: { item: ExplorerItem; selected: boole
|
||||
<FileThumb
|
||||
data={item}
|
||||
frame
|
||||
frameClassName="!border"
|
||||
frameClassName={clsx("!border", item.type === "Label" && "!rounded-lg")}
|
||||
blackBars
|
||||
size={35}
|
||||
className={clsx('mr-2.5', cut && 'opacity-60')}
|
||||
|
||||
Reference in New Issue
Block a user