macos option select
This commit is contained in:
@@ -344,6 +344,7 @@ private struct ChoiceBox: View {
|
||||
InlineView(inlines: parseInline(text), ctx: MDContext(taskId: model.item.taskId))
|
||||
.font(Fonts.font(13, weight: 600))
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.allowsHitTesting(false)
|
||||
if rec {
|
||||
Text("recommended").font(Fonts.font(11)).foregroundStyle(Palette.ok)
|
||||
}
|
||||
@@ -355,6 +356,7 @@ private struct ChoiceBox: View {
|
||||
ItemBody(item: MDItem(inline: item.inline, blocks: item.blocks), ctx: MDContext(taskId: model.item.taskId))
|
||||
.padding(.horizontal, 10)
|
||||
.padding(.vertical, 8)
|
||||
.allowsHitTesting(false)
|
||||
.overlay(alignment: .top) {
|
||||
Rectangle().fill(Palette.border).frame(height: 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user