1
0
Fork 0

fix(org): Changes to accomodate new padding

This commit is contained in:
Joost De Cock 2022-06-10 12:14:10 +02:00
parent 328cae711b
commit 567ea009fd
2 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ const HomePage = (props) => {
</div>
</section>
<div>
<div className="max-w-xl m-auto my-32">
<div className="max-w-xl m-auto my-32 px-6">
<Popout fixme>Create homepage</Popout>
</div>
<div className="max-w-7xl m-auto my-32">

View file

@ -41,7 +41,7 @@ const Popout = (props) => {
return props.compact
? (
<div className={`relative my-4 bg-${color} bg-opacity-5 ${className} -ml-8 -mr-8 sm:m-0`}>
<div className={`relative my-4 bg-${color} bg-opacity-5 ${className} -ml-6 -mr-6 sm:m-0`}>
<div className={`
border-y-4 sm:border-0 sm:border-l-4 px-4
shadow text-base border-${color}
@ -61,7 +61,7 @@ const Popout = (props) => {
</div>
)
: (
<div className={`relative my-8 bg-${color} bg-opacity-5 ${className} -ml-8 -mr-8 sm:m-0`}>
<div className={`relative my-8 bg-${color} bg-opacity-5 ${className} -ml-6 -mr-6 sm:m-0`}>
<div className={`
border-y-4 sm:border-0 sm:border-l-4 px-6 sm:px-8 py-4 sm:py-2
shadow text-base border-${color}