georgecc wrote:
I was messing around with the drive on my mac
First, how about if you tell us what you were messing around with and what happened?
Second, you cannot partition the drive when you are already booted into macOS. You can only do it if you are booted directly into Recovery Mode ... and you probably need to use Internet Recovery Mode and run Disk Utility from there. But normally there should be no reason to partition your boot drive, especially if it's only a 256GB SSD.
Your first screen shot looks normal to me. The first partition is your ~256GB drive and it contains ~245 GB free space. From the free space, it looks like macOS is not installed ... In Disk Utility do you see an APFS Container with 2 Volumes inside it (Mac HD and Mac HD-Data)?
See Use macOS Recovery on a Mac with Apple Silicon. Scroll down to the section entitled "Repair your internal storage device" and read/follow the instructions to basically re-set your SSD from scratch. In this sequence you will do a First Aid Repair on each existing Volume; then on each Container; and finally on the full drive. If you do this, follow the instructions exactly as they are written.