fix: Improve dark mode styling
fix: Improve user and group list styling fix: Member list reload when changing permissions, closes #1999
This commit is contained in:
@@ -52,7 +52,7 @@ class GroupListItem extends React.Component<Props> {
|
||||
<ListItem
|
||||
image={
|
||||
<Image>
|
||||
<GroupIcon size={28} />
|
||||
<GroupIcon size={24} />
|
||||
</Image>
|
||||
}
|
||||
title={
|
||||
@@ -94,10 +94,10 @@ class GroupListItem extends React.Component<Props> {
|
||||
const Image = styled(Flex)`
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: ${(props) => props.theme.secondaryBackground};
|
||||
border-radius: 20px;
|
||||
border-radius: 32px;
|
||||
`;
|
||||
|
||||
const Title = styled.span`
|
||||
|
||||
@@ -27,7 +27,7 @@ const ListItem = ({ image, title, subtitle, actions }: Props) => {
|
||||
|
||||
const Wrapper = styled.li`
|
||||
display: flex;
|
||||
padding: 8px 0;
|
||||
padding: 10px 0;
|
||||
margin: 0;
|
||||
border-bottom: 1px solid ${(props) => props.theme.divider};
|
||||
|
||||
@@ -38,17 +38,17 @@ const Wrapper = styled.li`
|
||||
|
||||
const Image = styled(Flex)`
|
||||
padding: 0 8px 0 0;
|
||||
max-height: 40px;
|
||||
max-height: 32px;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-start;
|
||||
align-self: center;
|
||||
`;
|
||||
|
||||
const Heading = styled.p`
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
line-height: 1.1;
|
||||
margin: 0;
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user