feat: add scrolling

main
Josue 4 years ago committed by Tsu-ba-me
parent 84c46412d5
commit a0d45f3839
  1. 6
      striker-ui/components/Anvils/AnvilList.tsx
  2. 6
      striker-ui/components/Servers.tsx

@ -5,17 +5,19 @@ import {
BLUE,
PURPLE_OFF,
RED_ON,
TEXT,
HOVER,
GREY,
} from '../../lib/consts/DEFAULT_THEME';
import Anvil from './Anvil';
const useStyles = makeStyles(() => ({
root: {
width: '100%',
overflow: 'auto',
height: '30vh',
},
divider: {
background: TEXT,
background: GREY,
},
button: {
'&:hover': {

@ -4,14 +4,16 @@ import { ClassNameMap } from '@material-ui/styles';
import Panel from './Panel';
import PeriodicFetch from '../lib/fetchers/periodicFetch';
import { HeaderText, BodyText } from './Text';
import { BLUE, GREY, TEXT, HOVER } from '../lib/consts/DEFAULT_THEME';
import { BLUE, GREY, HOVER } from '../lib/consts/DEFAULT_THEME';
const useStyles = makeStyles(() => ({
root: {
width: '100%',
overflow: 'auto',
height: '100vh',
},
divider: {
background: TEXT,
background: GREY,
},
button: {
'&:hover': {

Loading…
Cancel
Save