mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-13 08:45:53 -04:00
CSS optimizations
This commit is contained in:
parent
ca38cc91e9
commit
ce79f8bfc7
3 changed files with 30 additions and 26 deletions
|
@ -38,7 +38,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="shadow-box" style="margin-top: 25px;overflow-x: scroll">
|
||||
<div class="shadow-box tableShadowbox" style="overflow-x: scroll">
|
||||
<table class="table table-borderless table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -182,6 +182,7 @@ export default {
|
|||
|
||||
.shadow-box {
|
||||
padding: 20px;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
table {
|
||||
|
@ -191,25 +192,4 @@ table {
|
|||
transition: all ease-in-out 0.2ms;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
tr.shadow-box, .shadow-box:last-child {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
tr {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
td {
|
||||
border-bottom: 1px solid $dark-font-color;
|
||||
display: block;
|
||||
padding: 6px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue