Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
20b4185f
Commit
20b4185f
authored
May 02, 2025
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dialog full size on mobile and dapp page layout
parent
867a57a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
dialog.recipe.ts
toolkit/theme/recipes/dialog.recipe.ts
+1
-1
LayoutApp.tsx
ui/shared/layout/LayoutApp.tsx
+10
-1
No files found.
toolkit/theme/recipes/dialog.recipe.ts
View file @
20b4185f
...
...
@@ -162,7 +162,7 @@ export const recipe = defineSlotRecipe({
full
:
{
content
:
{
maxW
:
'
100vw
'
,
minH
:
'
100vh
'
,
minH
:
'
100
d
vh
'
,
'
--dialog-margin
'
:
'
0
'
,
borderRadius
:
'
0
'
,
},
...
...
ui/shared/layout/LayoutApp.tsx
View file @
20b4185f
...
...
@@ -7,6 +7,9 @@ import HeaderMobile from 'ui/snippets/header/HeaderMobile';
import
*
as
Layout
from
'
./components
'
;
const
TOP_BAR_HEIGHT
=
36
;
const
HEADER_HEIGHT_MOBILE
=
56
;
const
LayoutDefault
=
({
children
}:
Props
)
=>
{
return
(
<
Layout
.
Container
...
...
@@ -17,7 +20,13 @@ const LayoutDefault = ({ children }: Props) => {
>
<
Layout
.
TopRow
/>
<
HeaderMobile
hideSearchBar
/>
<
Layout
.
MainArea
minH=
"auto"
flex=
{
1
}
>
<
Layout
.
MainArea
minH=
{
{
base
:
`calc(100dvh - ${ TOP_BAR_HEIGHT + HEADER_HEIGHT_MOBILE }px)`
,
lg
:
`calc(100dvh - ${ TOP_BAR_HEIGHT }px)`
,
}
}
flex=
{
1
}
>
<
Layout
.
MainColumn
paddingTop=
{
{
base
:
0
,
lg
:
0
}
}
paddingBottom=
{
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment