Web: Client: Settings: fixed adding IP by clicking in another corner of the screen

This commit is contained in:
Elyor Djalilov 2023-11-06 13:21:40 +05:00
parent cf96a0beb1
commit 5a9a04aaa4

View File

@ -40,12 +40,12 @@ const StyledInputWrapper = styled.div`
`; `;
const StyledAddWrapper = styled.div` const StyledAddWrapper = styled.div`
display: flex; display: inline-flex;
flex-direction: row; flex-direction: row;
gap: 6px; gap: 6px;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
margin-top: ${(props) => (props.inputsLength > 0 ? "16px" : "0px")}; margin-top: ${(props) => (props.inputsLength > 0 ? "8px" : "0px")};
`; `;
const usePrevious = (value) => { const usePrevious = (value) => {