Skip to content
Snippets Groups Projects
Commit aa190f95 authored by Christophorus Dharma Winata's avatar Christophorus Dharma Winata
Browse files

fix: main "container" class for navbar is tabgroup

parent 6ff65dfe
Branches
Tags
No related merge requests found
.navbar-container{
display: flex;
justify-content: space-evenly;
background-color: #AA1E1E;
border: none;
outline: none;
/* height: 15%; */
}
img{ img{
/* float: left; */ /* float: left; */
margin: 10px; margin: 10px;
...@@ -15,9 +6,13 @@ img{ ...@@ -15,9 +6,13 @@ img{
} }
.tabgroup{ .tabgroup{
display: flex;
justify-content: space-evenly;
background-color: #AA1E1E;
border: none;
outline: none;
color: #eaeaea; color: #eaeaea;
/* float: left; */ /* float: left; */
font-size: 17px; font-size: 17px;
width: 100%; width: 100%;
height: 8%; height: 8%;
......
addnavbar = () => { addnavbar = () => {
return document.getElementById("tabgroup").innerHTML =` return document.getElementById("tabgroup").innerHTML =`
<div class="navbar-container">
<a class="tabexpand" href="#"> <a class="tabexpand" href="#">
<i class="fa-solid fa-bars"></i> <i class="fa-solid fa-bars"></i>
</a> </a>
...@@ -19,6 +18,5 @@ addnavbar = () => { ...@@ -19,6 +18,5 @@ addnavbar = () => {
<i class="fa-solid fa-clipboard-list"></i> <i class="fa-solid fa-clipboard-list"></i>
Catalog Catalog
</a> </a>
</div>
` `
} }
\ No newline at end of file
...@@ -9,10 +9,12 @@ ...@@ -9,10 +9,12 @@
<script src="../js/navbar.js"></script> <script src="../js/navbar.js"></script>
</head> </head>
<body> <body>
<script>
addnavbar();
</script>
<div class="container"> <div class="container">
<div id="tabgroup">
<script>
addnavbar();
</script>
</div>
<div class="cart-group"> <div class="cart-group">
<h1> <h1>
Cart Cart
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment