mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 22:37:39 +00:00
feat: make entire table responsive
This commit is contained in:
parent
aaefe1317a
commit
2e39776d0a
@ -3,6 +3,7 @@ import { XStack } from 'tamagui'
|
||||
import ValidatorManagementContent from './ValidatorManagementContent'
|
||||
import LeftSidebar from '../../components/General/LeftSidebar/LeftSidebar'
|
||||
import RightSidebar from '../../components/General/RightSideBar/RightSidebar'
|
||||
import './ValidatorManagement.css'
|
||||
|
||||
const ValidatorManagement = () => {
|
||||
return (
|
||||
|
63
src/pages/ValidatorManagement/validatorManagement.css
Normal file
63
src/pages/ValidatorManagement/validatorManagement.css
Normal file
@ -0,0 +1,63 @@
|
||||
/* Hide Effectiveness */
|
||||
@media (max-width: 1300px) {
|
||||
th:nth-child(7),
|
||||
td:nth-child(7) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide the Attestations */
|
||||
@media (max-width: 1200px) {
|
||||
th:nth-child(6),
|
||||
td:nth-child(6) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide the Proposals */
|
||||
@media (max-width: 1100px) {
|
||||
th:nth-child(5),
|
||||
td:nth-child(5) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide and show Proposals */
|
||||
@media (max-width: 900px) and (min-width: 800px) {
|
||||
th:nth-child(5),
|
||||
td:nth-child(5) {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide the Income */
|
||||
@media (max-width: 1000px) {
|
||||
th:nth-child(4),
|
||||
td:nth-child(4) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide and show Income */
|
||||
@media (max-width: 900px) and (min-width: 700px) {
|
||||
th:nth-child(4),
|
||||
td:nth-child(4) {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide Status */
|
||||
@media (max-width: 560px) {
|
||||
th:nth-child(8),
|
||||
td:nth-child(8) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide Balance */
|
||||
@media (max-width: 400px) {
|
||||
th:nth-child(3),
|
||||
td:nth-child(3) {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user