mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Remove unnecessary extra spacing here
This commit is contained in:
1 parent
5cb9b634f9
commit
448ab66517
1 file changed
+11
-2
@@ -22,8 +22,13 @@
|
||||
|
||||
<Layout.Stack>
|
||||
{#if $$slots.title || $$slots.subtitle}
|
||||
<header class="form-header" class:hide-divider={!$$slots.subtitle}>
|
||||
<Typography.Title><slot name="title" /></Typography.Title>
|
||||
<header
|
||||
class="form-header"
|
||||
class:hide-divider={!$$slots.subtitle}
|
||||
class:only-subtitle={!$$slots.title && $$slots.subtitle}>
|
||||
{#if $$slots.title}
|
||||
<Typography.Title><slot name="title" /></Typography.Title>
|
||||
{/if}
|
||||
{#if $$slots.subtitle}
|
||||
<p>
|
||||
<slot name="subtitle" />
|
||||
@@ -44,4 +49,8 @@
|
||||
padding-block-end: 0;
|
||||
border-block-end: none;
|
||||
}
|
||||
|
||||
.only-subtitle {
|
||||
margin-block-end: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user