mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-26 05:45:13 +00:00
14 lines
498 B
Swift
14 lines
498 B
Swift
import SwiftUI
|
|
|
|
extension View {
|
|
func settingsSidebarCardLayout() -> some View {
|
|
self
|
|
.frame(width: SettingsLayout.nestedSidebarWidth, alignment: .topLeading)
|
|
.frame(maxHeight: .infinity, alignment: .topLeading)
|
|
.background(
|
|
RoundedRectangle(cornerRadius: 12, style: .continuous)
|
|
.fill(Color(nsColor: .windowBackgroundColor)))
|
|
.clipShape(RoundedRectangle(cornerRadius: 12, style: .continuous))
|
|
}
|
|
}
|