Responsive on small screens
This commit is contained in:
parent
b043dce7f0
commit
a6b850fddd
@ -191,6 +191,11 @@ input[type="submit"] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.overflow-x {
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.grid-2col {
|
.grid-2col {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
|
18
styles/02-responsive.scss
Normal file
18
styles/02-responsive.scss
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
@media screen and (max-width:65rem) {
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
position: initial;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
.sidebar_search form {
|
||||||
|
width: 18em;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
@ -9,6 +9,7 @@
|
|||||||
<%- include("navigation", locals) %>
|
<%- include("navigation", locals) %>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h1>Build history</h1>
|
<h1>Build history</h1>
|
||||||
|
<div class="overflow-x">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Repo</th>
|
<th>Repo</th>
|
||||||
@ -28,6 +29,7 @@
|
|||||||
<% }) %>
|
<% }) %>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<%- include("footer", locals) %>
|
<%- include("footer", locals) %>
|
||||||
<script src="/assets/js/timezone.js?v1" nonce="<%= cspNonce %>"></script>
|
<script src="/assets/js/timezone.js?v1" nonce="<%= cspNonce %>"></script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user