Made the navbar static instead of fixed to improve usability on mobile devices
This is just a hack really, the proper approach would be to finally move to a real responsive design, but this should prove as a valid workaround until that is realized. Closes #257 for now.
This commit is contained in:
parent
86c6cda79a
commit
02212bde21
3 changed files with 8 additions and 9 deletions
File diff suppressed because one or more lines are too long
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
// Body
|
||||
body {
|
||||
padding-top: 60px;
|
||||
//padding-top: 60px;
|
||||
}
|
||||
|
||||
// Navigation bar
|
||||
|
|
@ -113,9 +113,11 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
/** OctoPrint application tabs */
|
||||
|
||||
.octoprint-container {
|
||||
margin-top: 20px;
|
||||
|
||||
/** OctoPrint application tabs */
|
||||
|
||||
.tab-content {
|
||||
padding: 9px 15px;
|
||||
border-left: 1px solid #DDD;
|
||||
|
|
@ -143,12 +145,9 @@ body {
|
|||
border-bottom: 1px solid #E5E5E5;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
/** Accordions */
|
||||
|
||||
/** Accordions */
|
||||
|
||||
.octoprint-container {
|
||||
.accordion-heading {
|
||||
.accordion-heading-button {
|
||||
float: right;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="navbar" class="navbar navbar-fixed-top">
|
||||
<div id="navbar" class="navbar navbar-static-top">
|
||||
<div class="navbar-inner" data-bind="css: appearance.color">
|
||||
<div class="container">
|
||||
<a class="brand" href="#"> <span data-bind="text: appearance.brand">OctoPrint</span></a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue