Files
openclaw/apps/macos/Sources/OpenClaw/SettingsSidebarCard.swift
2026-05-18 09:16:36 +01:00

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))
}
}