Web: Fieles: VersionHistoryPanel: styled refactoring
This commit is contained in:
parent
95a6f2ea47
commit
a38abc4ff4
@ -36,20 +36,13 @@ const StyledRow = styled(Row)`
|
||||
.version_badge-text {
|
||||
position: absolute;
|
||||
left: 6px;
|
||||
@media ${tablet} {
|
||||
left: -2px;
|
||||
}
|
||||
}
|
||||
|
||||
margin-left: 0px;
|
||||
margin-top: ${(props) => (props.showEditPanel ? "13px" : "-2px")};
|
||||
|
||||
@media ${tablet} {
|
||||
margin-left: 0px;
|
||||
margin-top: 0px;
|
||||
.version_badge-text {
|
||||
left: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,10 +73,10 @@ const StyledRow = styled(Row)`
|
||||
|
||||
.version_edit-comment {
|
||||
display: block;
|
||||
margin-left: 63px;
|
||||
|
||||
@media ${tablet} {
|
||||
display: none;
|
||||
margin-left: 63px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,6 +59,7 @@ const StyledAsidePanel = styled.div`
|
||||
`;
|
||||
|
||||
const StyledVersionHistoryPanel = styled.div`
|
||||
${PanelStyles}
|
||||
.version-history-modal-dialog {
|
||||
transform: translateX(${(props) => (props.visible ? "0" : "720px")});
|
||||
width: 720px;
|
||||
@ -82,6 +83,9 @@ const StyledVersionHistoryPanel = styled.div`
|
||||
.version-comment-wrapper {
|
||||
margin-left: 79px;
|
||||
}
|
||||
.version_edit-comment {
|
||||
margin-left: 70px;
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledAddUsersPanelPanel = styled.div`
|
||||
|
Loading…
Reference in New Issue
Block a user