Merge pull request #376 from chakflying/patch-7

Fix: Fix events table width on mobile
This commit is contained in:
Louis Lam 2021-09-12 21:12:56 +08:00 committed by GitHub
commit 0d280f5edb
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>