单词卡片改为英文、音标、翻译从上到下排列,间距 8pt

This commit is contained in:
2026-07-19 00:18:55 +08:00
parent 26af66efeb
commit 6dd8ebc718
@@ -33,14 +33,9 @@ final class WordCardCell: UITableViewCell {
meaningLabel.font = .preferredFont(forTextStyle: .subheadline)
meaningLabel.textColor = .secondaryLabel
let titleRow = UIStackView(arrangedSubviews: [wordLabel, phoneticLabel, UIView()])
titleRow.axis = .horizontal
titleRow.alignment = .firstBaseline
titleRow.spacing = 6
let textStack = UIStackView(arrangedSubviews: [titleRow, meaningLabel])
let textStack = UIStackView(arrangedSubviews: [wordLabel, phoneticLabel, meaningLabel])
textStack.axis = .vertical
textStack.spacing = 2
textStack.spacing = 8
speakerButton.tintColor = Theme.Color.accent
speakerButton.addAction(UIAction { [weak self] _ in