Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8851f0

Browse files
authored
fix: prevent horizontal form section info from overlapping form fields (#19189)
...on screens that are not wide enough to accommodate 2-column layout.closes#19055 Sticky positioning on form section info still works as expected ondesktop:https://github.com/user-attachments/assets/e8f5b364-d20e-4248-acc6-848293947c92Sticky positioning is no longer applied to form section info ontablet/mobile:https://github.com/user-attachments/assets/c52c6b04-7b73-457e-9d9e-0b461fff56ac
1 parent8ba8b4f commitb8851f0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎site/src/components/Form/Form.tsx‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,13 @@ const styles = {
159159
position:"initial"asconst,
160160
},
161161
}),
162-
formSectionInfoHorizontal:{
162+
formSectionInfoHorizontal:(theme)=>({
163163
maxWidth:312,
164-
position:"sticky",
165-
},
164+
165+
[theme.breakpoints.up("lg")]:{
166+
position:"sticky",
167+
},
168+
}),
166169
formSectionInfoTitle:(theme)=>({
167170
fontSize:20,
168171
color:theme.palette.text.primary,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp