fix for scrollbar on demand

This commit is contained in:
Unknown
2019-09-03 12:22:31 +02:00
committed by felixlinker
parent c7547e8baf
commit 18f0e060a7
2 changed files with 2 additions and 1 deletions

View File

@@ -364,7 +364,7 @@ export default class ShipyardPage extends Page {
{shipRows} {shipRows}
</tbody> </tbody>
</table> </table>
<div style={{ overflowX: 'scroll', maxWidth: '100%' }}> <div style={{ overflowX: 'auto', maxWidth: '100%' }}>
<table style={{ marginLeft: 'calc(12em - 1px)', zIndex: 0 }} className="shipyard-table"> <table style={{ marginLeft: 'calc(12em - 1px)', zIndex: 0 }} className="shipyard-table">
<thead> <thead>
<tr className="main"> <tr className="main">

View File

@@ -81,6 +81,7 @@ table.shipyard-table{
.content-wrapper{ .content-wrapper{
display: inline-block; display: inline-block;
margin: 0 auto; margin: 0 auto;
max-width: 100%;
} }
.table-tools{ .table-tools{