Fixed info page height to work better on diferent clients.
This commit is contained in:
parent
c5cd9b42b1
commit
bbf21a3bb1
@ -66,7 +66,7 @@ const FilamentStockInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -81,7 +81,7 @@ const DocumentPrinterInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -70,7 +70,7 @@ const DocumentSizeInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -68,7 +68,7 @@ const DocumentTemplateDesign = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -73,7 +73,7 @@ const DocumentTemplateInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -72,7 +72,7 @@ const FilamentInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -74,7 +74,7 @@ const HostInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -60,7 +60,7 @@ const NoteTypeInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -69,7 +69,7 @@ const PartInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -61,7 +61,7 @@ const ProductInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -60,7 +60,7 @@ const UserInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -68,7 +68,7 @@ const VendorInfo = () => {
|
|||||||
<Flex
|
<Flex
|
||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{ height: 'calc(var(--unit-100vh) - 155px)', minHeight: 0 }}
|
style={{ maxHeight: '100%', minHeight: 0 }}
|
||||||
>
|
>
|
||||||
<Flex justify={'space-between'}>
|
<Flex justify={'space-between'}>
|
||||||
<Space size='middle'>
|
<Space size='middle'>
|
||||||
|
|||||||
@ -74,7 +74,7 @@ const GCodeFileInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -69,7 +69,7 @@ const JobInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -69,7 +69,7 @@ const PrinterInfo = () => {
|
|||||||
gap='large'
|
gap='large'
|
||||||
vertical='true'
|
vertical='true'
|
||||||
style={{
|
style={{
|
||||||
height: 'calc(var(--unit-100vh) - 155px)',
|
maxHeight: '100%',
|
||||||
minHeight: 0
|
minHeight: 0
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user