mirror of
https://github.com/ConvoyPanel/panel.git
synced 2026-06-16 20:04:09 +08:00
25 lines
395 B
TypeScript
25 lines
395 B
TypeScript
import styled from '@emotion/styled'
|
|
import tw from 'twin.macro'
|
|
|
|
const EntityGroup = styled.div`
|
|
${tw`flex flex-col`}
|
|
|
|
& > div {
|
|
${tw`rounded-none`}
|
|
}
|
|
|
|
& > div:is(:first-of-type) {
|
|
${tw`rounded-t`}
|
|
}
|
|
|
|
& > div:not(:first-of-type) {
|
|
${tw`-mt-[1px]`}
|
|
}
|
|
|
|
& > div:is(:last-child) {
|
|
${tw`rounded-b`}
|
|
}
|
|
`
|
|
|
|
export default EntityGroup
|