Fixing incorrect footer position when toggling sidebar drawer
This commit is contained in:
parent
ce6e139e54
commit
2bb770c937
@ -1,3 +1,3 @@
|
||||
<footer class="footer" id="footer">
|
||||
<footer class="footer fixed-bottom" id="footer">
|
||||
<p>${copyright}</p>
|
||||
</footer>
|
||||
|
@ -26,7 +26,7 @@ body {
|
||||
|
||||
.content {
|
||||
margin-left: 250px;
|
||||
padding: 20px;
|
||||
padding-bottom: 20px;
|
||||
transition: margin-left 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
@ -35,18 +35,15 @@ body {
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: calc(100% - 250px);
|
||||
margin-left: 250px;
|
||||
background-color: #f8f9fa;
|
||||
padding: 10px;
|
||||
padding-top: 5px;
|
||||
text-align: center;
|
||||
margin-left: 250px;
|
||||
transition: margin-left 0.3s ease-in-out;
|
||||
z-index: 1010;
|
||||
}
|
||||
|
||||
.footer.full-width {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="footer" id="footer">
|
||||
<footer class="footer fixed-bottom" id="footer">
|
||||
<p>© 2024 Dita Aji Pratama. All rights reserved.</p>
|
||||
</footer>
|
||||
|
||||
|
@ -26,7 +26,7 @@ body {
|
||||
|
||||
.content {
|
||||
margin-left: 250px;
|
||||
padding: 20px;
|
||||
padding-bottom: 20px;
|
||||
transition: margin-left 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
@ -35,18 +35,15 @@ body {
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: calc(100% - 250px);
|
||||
margin-left: 250px;
|
||||
background-color: #f8f9fa;
|
||||
padding: 10px;
|
||||
padding-top: 5px;
|
||||
text-align: center;
|
||||
margin-left: 250px;
|
||||
transition: margin-left 0.3s ease-in-out;
|
||||
z-index: 1010;
|
||||
}
|
||||
|
||||
.footer.full-width {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user