Skip to content

Commit

Permalink
Make resource bar show in edit too
Browse files Browse the repository at this point in the history
  • Loading branch information
kokofixcomputers authored Oct 14, 2024
1 parent 6a85395 commit a4ec7e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/scripts/components/server/edit/EditContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Button } from '@/components/elements/button/index';
import TitledGreyBox from '@/components/elements/TitledGreyBox';
import SpinnerOverlay from '@/components/elements/SpinnerOverlay';
import ServerContentBlock from '@/components/elements/ServerContentBlock';
import ResourceBar from '@/components/elements/store/ResourceBar';

const Container = styled.div`
${tw`flex flex-wrap`};
Expand Down Expand Up @@ -72,6 +73,7 @@ export default () => {
This will move resources between your account and the server. Are you sure you want to continue?
</Dialog.Confirm>
<Container css={tw`lg:grid lg:grid-cols-3 gap-4 my-10`}>
<ResourceBar className={'w-full lg:w-3/4'} />
<TitledGreyBox title={'Edit server CPU limit'} css={tw`mt-8 sm:mt-0`}>
<Wrapper>
<Icon.Cpu size={40} />
Expand Down

0 comments on commit a4ec7e2

Please sign in to comment.