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

Commitcfa42b7

Browse files
authored
Merge pull request#411 from coderoad/fix/styles
keep footers fixed
2 parents5637cf6 +5cb92e1 commitcfa42b7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎web-app/src/containers/SelectTutorial/TutorialOverview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const styles = {
4747
paddingLeft:'1.1rem',
4848
},
4949
footer:(theme:Theme)=>({
50-
position:'absolute'as'absolute',
50+
position:'fixed'as'fixed',
5151
bottom:0,
5252
left:0,
5353
right:0,

‎web-app/src/containers/Tutorial/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,33 +53,33 @@ const styles = {
5353
alignItems:'center',
5454
height:theme['$footer-height'],
5555
backgroundColor:'black',
56-
fontSize:'1rem',
57-
lineHeight:'1rem',
56+
fontSize:'12px',
57+
lineHeight:'16px',
5858
padding:'10px 0rem',
59-
position:'absolute'as'absolute',
59+
position:'fixed'as'fixed',
6060
bottom:0,
6161
left:0,
6262
right:0,
6363
color:theme['$color-white'],
6464
zIndex:1000,
6565
}),
6666
completeFooter:{
67-
position:'absolute'as'absolute',
67+
position:'fixed'as'fixed',
6868
bottom:0,
6969
left:0,
7070
right:0,
7171
zIndex:1000,
7272
},
7373
processes:(theme:Theme)=>({
7474
padding:'0 1rem',
75-
position:'absolute'as'absolute',
75+
position:'fixed'as'fixed',
7676
bottom:theme['$footer-height'],
7777
left:0,
7878
right:0,
7979
top:'auto',
8080
}),
8181
testMessage:(theme:Theme)=>({
82-
position:'absolute'as'absolute',
82+
position:'fixed'as'fixed',
8383
top:'auto',
8484
bottom:theme['$footer-height'],
8585
left:'5px',
@@ -180,7 +180,7 @@ const TutorialPage = (props: PageProps) => {
180180
<divcss={{flex:1}}>
181181
{DISPLAY_RUN_TEST_BUTTON&&level.status!=='COMPLETE' ?(
182182
<Button
183-
style={{marginLeft:'1rem',width:'3rem'}}
183+
style={{marginLeft:'1rem',width:'57px'}}
184184
type="primary"
185185
onClick={onRunTest}
186186
disabled={disableOptions}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp