fix: Improve tag chip alignment in TagManagementView
- Update grid container to align chips to top when fewer than 3 rows - Adjust top padding to prevent label overlap with chips
This commit is contained in:
parent
bbcb7bd81f
commit
1ffafc3b35
@ -173,13 +173,13 @@ struct TagManagementView: View {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity, alignment: .top)
|
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .top)
|
||||||
.padding(.horizontal)
|
.padding(.horizontal)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tabViewStyle(.page(indexDisplayMode: availableLabelPages.count > 1 ? .automatic : .never))
|
.tabViewStyle(.page(indexDisplayMode: availableLabelPages.count > 1 ? .automatic : .never))
|
||||||
.frame(height: 180)
|
.frame(height: 180)
|
||||||
.padding(.top, -20)
|
.padding(.top, 10)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user