Created new main card and created a container for inner element of main page.
This commit is contained in:
@ -1,4 +1,22 @@
|
||||
<style>
|
||||
|
||||
.main-container {
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
nav {
|
||||
position: relative;
|
||||
overflow:visible;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1.5em;
|
||||
padding: 0em 0em 1.5em 0em;
|
||||
z-index: 2;
|
||||
height: 1.5em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<nav>
|
||||
<a href = "test">//tab</a>
|
||||
@ -6,4 +24,8 @@
|
||||
<a href = "test">//tab</a>
|
||||
</nav>
|
||||
|
||||
<slot />
|
||||
<div class="main-container">
|
||||
|
||||
<slot />
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user