chore: update left navs UIs

This commit is contained in:
zerosoul
2022-06-13 21:13:04 +08:00
parent ec0f4240b0
commit b9429e6c7f
2 changed files with 13 additions and 7 deletions
+12 -6
View File
@@ -8,9 +8,7 @@ const StyledWrapper = styled.div`
padding: 8px;
border-radius: 8px;
user-select: none;
&.compact {
padding: 0;
}
&.interactive {
&:hover,
&.active {
@@ -31,9 +29,9 @@ const StyledWrapper = styled.div`
.status {
position: absolute;
bottom: -2px;
right: -4px;
width: 10px;
height: 10px;
right: -6px;
width: 12px;
height: 12px;
box-sizing: content-box;
border-radius: 50%;
border: 2px solid #fff;
@@ -55,5 +53,13 @@ const StyledWrapper = styled.div`
line-height: 20px;
color: #52525b;
}
/* session nav */
&.compact {
padding: 0;
.avatar .status {
width: 15px;
height: 15px;
}
}
`;
export default StyledWrapper;
+1 -1
View File
@@ -10,7 +10,7 @@ import AddEntriesMenu from "./AddEntriesMenu";
const StyledWrapper = styled.div`
min-height: 56px;
position: relative;
padding: 6px 12px;
padding: 10px 16px;
display: flex;
align-items: center;
justify-content: space-between;