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

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> <style scoped>
main { main {
padding-top: 60px; /* Space for fixed navbar */ padding-top: 50px; /* Space for fixed navbar */
margin: 0 !important;
max-width: 83%;
} }
</style> </style>

View File

@ -1,5 +1,5 @@
<template> <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"> <div class="sidebar-sticky">
<ul class="nav flex-column"> <ul class="nav flex-column">
<Stream <Stream
@ -86,12 +86,15 @@ export default {
</script> </script>
<style> <style>
.sidebar { .sidebar {
display: block !important;
flex: 0 0 16.666667%;
max-width: 16.666667%;
position: fixed; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 100; /* Behind the navbar */ 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); box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
} }