Исправил съезжающий сайдбар, прочая косметика

This commit is contained in:
saber-nyan 2019-05-11 03:49:38 +03:00
parent cf548de895
commit 986ecaab9c
No known key found for this signature in database
GPG Key ID: 7B069E9C295E6B4A
2 changed files with 8 additions and 3 deletions

View File

@ -79,6 +79,8 @@ export default {
<style scoped>
main {
padding-top: 60px; /* Space for fixed navbar */
padding-top: 50px; /* Space for fixed navbar */
margin: 0 !important;
max-width: 83%;
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<nav class="col-md-2 d-none d-md-block bg-light sidebar">
<nav class="col-md-2 d-md-block bg-light sidebar">
<div class="sidebar-sticky">
<ul class="nav flex-column">
<Stream
@ -86,12 +86,15 @@ export default {
</script>
<style>
.sidebar {
display: block !important;
flex: 0 0 16.666667%;
max-width: 16.666667%;
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 48px 0 0 !important; /* Height of navbar */
padding: 40px 0 0 !important; /* Height of navbar */
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}