experiment(BookmarkRow): favicon 26×26 → 32×32, corner radius 5→7, align offsets to 44
This commit is contained in:
@@ -55,7 +55,7 @@ struct BookmarkRow: View {
|
|||||||
.font(.system(size: 15))
|
.font(.system(size: 15))
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
.lineLimit(2)
|
.lineLimit(2)
|
||||||
.padding(.leading, 40)
|
.padding(.leading, 44)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !effectiveTags.isEmpty {
|
if !effectiveTags.isEmpty {
|
||||||
@@ -72,7 +72,7 @@ struct BookmarkRow: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.leading, 40)
|
.padding(.leading, 44)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reading progress indicator
|
// Reading progress indicator
|
||||||
@@ -88,7 +88,7 @@ struct BookmarkRow: View {
|
|||||||
}
|
}
|
||||||
.frame(height: 2)
|
.frame(height: 2)
|
||||||
.clipShape(Capsule())
|
.clipShape(Capsule())
|
||||||
.padding(.leading, 40)
|
.padding(.leading, 44)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.vertical, 14)
|
.padding(.vertical, 14)
|
||||||
@@ -125,16 +125,16 @@ struct FaviconView: View {
|
|||||||
placeholder
|
placeholder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(width: 26, height: 26)
|
.frame(width: 32, height: 32)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 5))
|
.clipShape(RoundedRectangle(cornerRadius: 7))
|
||||||
}
|
}
|
||||||
|
|
||||||
private var placeholder: some View {
|
private var placeholder: some View {
|
||||||
RoundedRectangle(cornerRadius: 4)
|
RoundedRectangle(cornerRadius: 6)
|
||||||
.fill(Color(.systemGray5))
|
.fill(Color(.systemGray5))
|
||||||
.overlay {
|
.overlay {
|
||||||
Image(systemName: "bookmark")
|
Image(systemName: "bookmark")
|
||||||
.font(.system(size: 9, weight: .medium))
|
.font(.system(size: 11, weight: .medium))
|
||||||
.foregroundStyle(Color(.systemGray2))
|
.foregroundStyle(Color(.systemGray2))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user