Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ui/frontend/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@
padding: 1.25em 0;
justify-content: space-between;
}

@media screen and (max-width: 768px) {
.container {
padding: 1.25em;
display: block;
}
.left {
margin-bottom: 6px;
}
}
1 change: 1 addition & 0 deletions ui/frontend/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A browser interface to the Rust compiler to experiment with the language" />
<title><%= htmlWebpackPlugin.options.title %></title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700%7CSource+Code+Pro:400,700&amp;subset=latin-ext" rel="stylesheet">
Expand Down
6 changes: 6 additions & 0 deletions ui/frontend/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ body {
color: #bf1b1b;
}
}

@media screen and (max-width: 768px) {
body {
padding: 0;
}
}