Revert "feat(translate): use full screen input"

This reverts commit b0c479190c1e4a2bd88cfa53c29c945d3770bdc7.
This commit is contained in:
kangfenmao 2024-08-13 20:48:51 +08:00
parent 7b72783ae7
commit 2ffedadee4

View File

@ -247,7 +247,7 @@ const MenuContainer = styled.div`
const TranslateInputWrapper = styled.div`
display: flex;
flex-direction: row;
height: 100%;
min-height: 350px;
gap: 20px;
`
@ -279,13 +279,14 @@ const OutputContainer = styled.div`
flex: 1;
flex-direction: column;
height: 100%;
padding: 10px;
background-color: var(--color-background-soft);
border-radius: 10px;
`
const OutputText = styled.div`
padding: 20px;
max-height: calc(100vh - var(--navbar-height) - 90px);
padding: 5px 10px;
max-height: calc(100vh - var(--navbar-height) - 120px);
overflow: auto;
white-space: pre-wrap;
`