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, BLUE,
PURPLE_OFF, PURPLE_OFF,
RED_ON, RED_ON,
TEXT,
HOVER, HOVER,
GREY,
} from '../../lib/consts/DEFAULT_THEME'; } from '../../lib/consts/DEFAULT_THEME';
import Anvil from './Anvil'; import Anvil from './Anvil';
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({
root: { root: {
width: '100%', width: '100%',
overflow: 'auto',
height: '30vh',
}, },
divider: { divider: {
background: TEXT, background: GREY,
}, },
button: { button: {
'&:hover': { '&:hover': {

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

Loading…
Cancel
Save