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

Commitb29a2df

Browse files
refactor: Minor design adjustments (#1637)
1 parent3653fcf commitb29a2df

File tree

6 files changed

+10
-16
lines changed

6 files changed

+10
-16
lines changed

‎site/src/components/Footer/Footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const useFooterStyles = makeStyles((theme) => ({
4242
flex:"0",
4343
paddingTop:theme.spacing(2),
4444
paddingBottom:theme.spacing(2),
45+
marginTop:theme.spacing(3),
4546
},
4647
copyRight:{
4748
margin:theme.spacing(0.25),

‎site/src/pages/LoginPage/LoginPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const useStyles = makeStyles((theme) => ({
1717
layout:{
1818
display:"flex",
1919
flexDirection:"column",
20-
gap:theme.spacing(2),
2120
alignItems:"center",
2221
},
2322
container:{

‎site/src/pages/TemplatesPage/TemplatesPageView.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const TemplatesPageView: React.FC<TemplatesPageViewProps> = (props) => {
7777
</TableRow>
7878
)}
7979
{props.templates?.map((template)=>(
80-
<TableRowkey={template.id}className={styles.templateRow}>
80+
<TableRowkey={template.id}>
8181
<TableCell>
8282
<BoxalignItems="center"display="flex">
8383
<Avatarvariant="square"className={styles.templateAvatar}>
@@ -127,12 +127,6 @@ const useStyles = makeStyles((theme) => ({
127127
lineHeight:`${theme.spacing(3)}px`,
128128
},
129129
},
130-
templateRow:{
131-
"& > td":{
132-
paddingTop:theme.spacing(2),
133-
paddingBottom:theme.spacing(2),
134-
},
135-
},
136130
templateAvatar:{
137131
borderRadius:2,
138132
marginRight:theme.spacing(1),

‎site/src/pages/WorkspaceBuildPage/WorkspaceBuildPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export const WorkspaceBuildPage: React.FC = () => {
4848

4949
constuseStyles=makeStyles((theme)=>({
5050
title:{
51-
marginTop:theme.spacing(5),
51+
paddingTop:theme.spacing(5),
52+
paddingBottom:theme.spacing(2),
5253
},
5354
}))

‎site/src/pages/WorkspacesPage/WorkspacesPageView.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const WorkspacesPageView: React.FC<WorkspacesPageViewProps> = (props) =>
7171
{props.workspaces?.map((workspace)=>{
7272
conststatus=getDisplayStatus(theme,workspace.latest_build)
7373
return(
74-
<TableRowkey={workspace.id}className={styles.workspaceRow}>
74+
<TableRowkey={workspace.id}>
7575
<TableCell>
7676
<divclassName={styles.workspaceName}>
7777
<Avatarvariant="square"className={styles.workspaceAvatar}>
@@ -134,12 +134,6 @@ const useStyles = makeStyles((theme) => ({
134134
lineHeight:`${theme.spacing(3)}px`,
135135
},
136136
},
137-
workspaceRow:{
138-
"& > td":{
139-
paddingTop:theme.spacing(2),
140-
paddingBottom:theme.spacing(2),
141-
},
142-
},
143137
workspaceAvatar:{
144138
borderRadius:2,
145139
marginRight:theme.spacing(1),

‎site/src/theme/overrides.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ export const getOverrides = (palette: PaletteOptions) => {
4444
// Gives the appearance of a border!
4545
borderRadius:2,
4646
border:`1px solid${palette.divider}`,
47+
48+
"& td":{
49+
paddingTop:16,
50+
paddingBottom:16,
51+
},
4752
},
4853
},
4954
MuiTableCell:{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp