Browse Source

Update drawer components to work with new styles

gh-pages
Andrew Kingston 5 years ago
parent
commit
ee84cdcbdf
  1. 2
      packages/builder/src/components/design/PropertiesPanel/CustomStylesSection.svelte
  2. 2
      packages/builder/src/components/design/PropertiesPanel/PropertyControls/NavigationEditor/NavigationDrawer.svelte

2
packages/builder/src/components/design/PropertiesPanel/CustomStylesSection.svelte

@ -40,7 +40,7 @@
<Button cta slot="buttons" on:click={save}>Save</Button> <Button cta slot="buttons" on:click={save}>Save</Button>
<DrawerContent slot="body"> <DrawerContent slot="body">
<div class="content"> <div class="content">
<Layout gap="S"> <Layout gap="S" noPadding>
<Body size="S">Custom CSS overrides all other component styles.</Body> <Body size="S">Custom CSS overrides all other component styles.</Body>
<TextArea bind:value={tempValue} placeholder="Enter some CSS..." /> <TextArea bind:value={tempValue} placeholder="Enter some CSS..." />
</Layout> </Layout>

2
packages/builder/src/components/design/PropertiesPanel/PropertyControls/NavigationEditor/NavigationDrawer.svelte

@ -83,7 +83,7 @@
.container { .container {
width: 100%; width: 100%;
max-width: 600px; max-width: 600px;
margin: var(--spacing-m) auto; margin: 0 auto;
} }
.links { .links {
display: flex; display: flex;

Loading…
Cancel
Save