First minor improvements to the visits table responsiveness

This commit is contained in:
Alejandro Celaya 2020-04-27 18:04:24 +02:00
parent fad0bf1c9d
commit 54fec79945
2 changed files with 5 additions and 3 deletions

View file

@ -88,7 +88,7 @@ const VisitsTable = ({
}, [ searchTerm ]); }, [ searchTerm ]);
return ( return (
<table className="table table-striped table-bordered table-hover table-sm visits-table"> <table className="table table-striped table-bordered table-hover table-sm table-responsive-sm visits-table">
<thead className="visits-table__header"> <thead className="visits-table__header">
<tr> <tr>
<th <th

View file

@ -12,9 +12,11 @@
@include sticky-cell(); @include sticky-cell();
@media (min-width: $mdMin) {
&.visits-table__sticky { &.visits-table__sticky {
top: $headerHeight - 2px; top: $headerHeight - 2px;
} }
}
} }
.visits-table__header-icon { .visits-table__header-icon {