File tree 13 files changed +18
-15
lines changed 13 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default function FromReferrer() {
18
18
return < > </ > ;
19
19
}
20
20
21
- return < div className = "lg:px-28 px-10 flex flex-col space-y-2" >
21
+ return < div className = "app-container flex flex-col space-y-2" >
22
22
< div className = "px-6 py-3 flex justify-between space-x-2 text-gray-400 h-96" >
23
23
< div className = "flex flex-col items-center w-96 m-auto mt-40" >
24
24
< h3 className = "text-center pb-3 text-gray-500 dark:text-gray-400" > No Referrer Found</ h3 >
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ export default function Menu() {
244
244
}
245
245
246
246
return < >
247
- < header className = { `lg:px-28 px-10 flex flex-col pt-4 space-y-4 ${ isMinimalUI || ! ! prebuildId ? 'pb-4' : '' } ` } data-analytics = '{"button_type":"menu"}' >
247
+ < header className = { `app-container flex flex-col pt-4 space-y-4 ${ isMinimalUI || ! ! prebuildId ? 'pb-4' : '' } ` } data-analytics = '{"button_type":"menu"}' >
248
248
< div className = "flex h-10" >
249
249
< div className = "flex justify-between items-center pr-3" >
250
250
< Link to = { gitpodIconUrl ( ) } >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default function Header(p: HeaderProps) {
19
19
}
20
20
document . title = `${ p . title } — Gitpod` ;
21
21
} , [ ] ) ;
22
- return < div className = "lg:px-28 px-10 border-gray-200 dark:border-gray-800" >
22
+ return < div className = "app-container border-gray-200 dark:border-gray-800" >
23
23
< div className = "flex pb-8 pt-6" >
24
24
< div className = "" >
25
25
{ typeof p . title === "string" ? ( < h1 className = "tracking-tight" > { p . title } </ h1 > ) : p . title }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export function PageWithSubMenu(p: PageWithSubMenuProps) {
22
22
const location = useLocation ( ) ;
23
23
return < div className = "w-full" >
24
24
< Header title = { p . title } subtitle = { p . subtitle } />
25
- < div className = 'lg:px-28 px-10 flex pt-9' >
25
+ < div className = 'app-container flex pt-9' >
26
26
< div >
27
27
< ul className = "flex flex-col text tracking-wide text-gray-500 pt-4 lg:pt-0 w-48 space-y-2" >
28
28
{ p . subMenu . map ( e => {
Original file line number Diff line number Diff line change 33
33
@apply text-sm text-gray-400 dark:text-gray-600;
34
34
}
35
35
36
+ .app-container {
37
+ @apply lg:px-28 px-10;
38
+ }
36
39
.btn-login {
37
40
@apply rounded-md border-none bg-gray-100 hover:bg-gray-200 text-gray-500 dark:text-gray-200 dark:bg-gray-800 dark:hover:bg-gray-600;
38
41
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default function InstallGitHubApp() {
48
48
const params = new URLSearchParams ( location . search ) ;
49
49
const installationId = params . get ( "installation_id" ) || undefined ;
50
50
if ( ! installationId ) {
51
- return < div className = "lg:px-28 px-10 flex flex-col space-y-2" >
51
+ return < div className = "app-container flex flex-col space-y-2" >
52
52
< div className = "px-6 py-3 flex justify-between space-x-2 text-gray-400 border-t border-gray-200 dark:border-gray-800 h-96" >
53
53
< div className = "flex flex-col items-center w-96 m-auto" >
54
54
< h3 className = "text-center pb-3 text-gray-500 dark:text-gray-400" > No Installation ID Found</ h3 >
@@ -61,7 +61,7 @@ export default function InstallGitHubApp() {
61
61
const goToApp = ( ) => window . location . href = gitpodHostUrl . toString ( ) ;
62
62
63
63
return < >
64
- < div className = "lg:px-28 px-10 flex flex-col space-y-2" >
64
+ < div className = "app-container flex flex-col space-y-2" >
65
65
< div className = "px-6 py-3 flex justify-between space-x-2 text-gray-400" >
66
66
< div className = "flex flex-col items-center m-auto max-w-lg mt-40" >
67
67
< h3 className = "text-center pb-3 text-gray-500" > Install GitHub App</ h3 >
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ export default function () {
211
211
212
212
return < >
213
213
< Header title = "Configuration" subtitle = "View and edit project configuration." />
214
- < div className = "lg:px-28 px-10 mt-8 flex space-x-4" >
214
+ < div className = "app-container mt-8 flex space-x-4" >
215
215
< div className = "flex-1 h-96 rounded-xl overflow-hidden relative flex flex-col" >
216
216
< div className = "flex bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-600 px-6 pt-3" >
217
217
< TabMenuItem name = ".gitpod.yml" selected = { selectedEditor === '.gitpod.yml' } onClick = { ( ) => setSelectedEditor ( '.gitpod.yml' ) } />
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export default function () {
114
114
115
115
return < >
116
116
< Header title = { renderTitle ( ) } subtitle = { renderSubtitle ( ) } />
117
- < div className = "lg:px-28 px-10 mt-8" >
117
+ < div className = "app-container mt-8" >
118
118
< div className = "rounded-xl overflow-hidden bg-gray-100 dark:bg-gray-800 flex flex-col" >
119
119
< div className = "h-96 flex" >
120
120
< PrebuildLogs workspaceId = { prebuild ?. info ?. buildWorkspaceId } onInstanceUpdate = { onInstanceUpdate } />
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export default function () {
151
151
152
152
return < >
153
153
< Header title = "Prebuilds" subtitle = { `View recent prebuilds for active branches.` } />
154
- < div className = "lg:px-28 px-10 " >
154
+ < div className = "app-container " >
155
155
< div className = "flex mt-8" >
156
156
< div className = "flex" >
157
157
< div className = "py-4" >
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export default function () {
173
173
174
174
return < >
175
175
< Header title = "Branches" subtitle = { < h2 className = "tracking-wide" > View recent active branches for < a className = "gp-link" href = { project ?. cloneUrl ! } > { toRemoteURL ( project ?. cloneUrl || '' ) } </ a > .</ h2 > } />
176
- < div className = "lg:px-28 px-10 " >
176
+ < div className = "app-container " >
177
177
{ showAuthBanner ? (
178
178
< div className = "mt-8 rounded-xl text-gray-500 bg-gray-50 dark:bg-gray-800 flex-col" >
179
179
< div className = "p-8 text-center" >
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export default function () {
100
100
101
101
) }
102
102
{ projects . length > 0 && (
103
- < div className = "lg:px-28 px-10 " >
103
+ < div className = "app-container " >
104
104
< div className = "mt-8 pb-2 flex border-b border-gray-200 dark:border-gray-800" >
105
105
< div className = "flex" >
106
106
< div className = "py-4" >
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export default function() {
111
111
112
112
return < >
113
113
< Header title = "Members" subtitle = "Manage team members." />
114
- < div className = "lg:px-28 px-10 " >
114
+ < div className = "app-container " >
115
115
< div className = "flex mt-8" >
116
116
< div className = "flex" >
117
117
< div className = "py-4" >
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ export default function () {
143
143
{ workspaceModel ?. initialized && (
144
144
activeWorkspaces . length > 0 || inactiveWorkspaces . length > 0 || workspaceModel . searchTerm ?
145
145
< >
146
- < div className = "lg:px-28 px-10 py-2 flex" >
146
+ < div className = "app-container py-2 flex" >
147
147
< div className = "flex" >
148
148
< div className = "py-4" >
149
149
< svg xmlns = "http://www.w3.org/2000/svg" fill = "none" viewBox = "0 0 16 16" width = "16" height = "16" > < path fill = "#A8A29E" d = "M6 2a4 4 0 100 8 4 4 0 000-8zM0 6a6 6 0 1110.89 3.477l4.817 4.816a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 010 6z" /> </ svg >
@@ -167,7 +167,7 @@ export default function () {
167
167
</ div >
168
168
< button onClick = { showStartWSModal } className = "ml-2" > New Workspace</ button >
169
169
</ div >
170
- < ItemsList className = "lg:px-28 px-10 " >
170
+ < ItemsList className = "app-container " >
171
171
< div className = "border-t border-gray-200 dark:border-gray-800" > </ div >
172
172
{
173
173
teamsWorkspaceModel ?. initialized && < ActiveTeamWorkspaces teams = { teams } teamProjects = { teamsProjects } teamWorkspaces = { teamsActiveWorkspaces } />
@@ -191,7 +191,7 @@ export default function () {
191
191
</ ItemsList >
192
192
</ >
193
193
:
194
- < div className = "lg:px-28 px-10 flex flex-col space-y-2" >
194
+ < div className = "app-container flex flex-col space-y-2" >
195
195
< div className = "px-6 py-3 flex flex-col text-gray-400 border-t border-gray-200 dark:border-gray-800" >
196
196
{ teamsWorkspaceModel ?. initialized && < ActiveTeamWorkspaces teams = { teams } teamProjects = { teamsProjects } teamWorkspaces = { teamsActiveWorkspaces } /> }
197
197
< div className = "flex flex-col items-center justify-center h-96 w-96 mx-auto" >
You can’t perform that action at this time.
0 commit comments