Fix: Fix events table width on mobile

This commit is contained in:
Nelson Chan 2021-09-11 18:56:27 +08:00 committed by GitHub
parent 6caae725f9
commit 9e10f7d35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@
</div> </div>
</div> </div>
<div class="shadow-box table-shadow-box" style="overflow-x: scroll;"> <div class="shadow-box table-shadow-box" style="overflow-x: hidden;">
<table class="table table-borderless table-hover"> <table class="table table-borderless table-hover">
<thead> <thead>
<tr> <tr>
@ -178,5 +178,10 @@ table {
tr { tr {
transition: all ease-in-out 0.2ms; transition: all ease-in-out 0.2ms;
} }
@media (max-width: 550px) {
table-layout: fixed;
overflow-wrap: break-word;
}
} }
</style> </style>