Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA fixes batch 5 #255

Merged
merged 7 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/components/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
{@const isDefault = group.label === DEFAULT_GROUP}
{#if isDefault}
<div class="u-flex u-flex-vertical">
{#each options as option}
{#each group.options as option}
<button class="aw-select-option" use:melt={$optionEl(option)}>
{#if option.icon}
<span class={option.icon} aria-hidden="true" />
Expand All @@ -121,7 +121,7 @@
{group.label}
</span>

{#each options as option}
{#each group.options as option}
<button class="aw-select-option" use:melt={$optionEl(option)}>
{#if option.icon}
<span class={option.icon} aria-hidden="true" />
Expand Down
28 changes: 8 additions & 20 deletions src/lib/layouts/Docs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,26 +93,7 @@
class="aw-button is-text"
aria-label="open navigation"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
>
<path
d="M3 5.5H17"
stroke="#E4E4E7"
stroke-width="1.2"
stroke-linecap="round"
/>
<path
d="M3 14.5H17"
stroke="#E4E4E7"
stroke-width="1.2"
stroke-linecap="round"
/>
</svg>
<span class="aw-icon-hamburger-menu" />
</button>
</div>
</section>
Expand Down Expand Up @@ -176,6 +157,13 @@
<a href="https://cloud.appwrite.io/console" class="aw-button">
<span class="aw-sub-body-500">Go to console</span>
</a>
<button
on:click={toggleSidenav}
class="aw-button is-text aw-is-not-desktop"
aria-label="open navigation"
>
<span class="aw-icon-hamburger-menu" />
</button>
</div>
</div>
</div>
Expand Down
13 changes: 6 additions & 7 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,12 @@
style="--container-size:78.75rem"
>
<div class="aw-media-container">
<div style="aspect-ratio: 1244 / 717">
<img
class="u-block"
src="/images/pages/homepage/dashboard.png"
alt="console dashboard"
/>
</div>
<img
class="u-block"
src="/images/pages/homepage/dashboard.png"
alt="console dashboard"
style:aspect-ratio="1244 / 717"
/>
</div>
</section>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/community/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@
<div class="aw-container">
<div class="aw-hero is-center">
<h2 class="aw-display aw-u-color-text-primary">Inspire and get inspired</h2>
<p class="aw-description">
<p class="aw-description" style:margin-block-start="0">
Visit our showcase website built with Appwrite to find inspiration for
your projects or to showcase what you have built.
</p>
Expand Down
12 changes: 12 additions & 0 deletions src/routes/heroes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -493,5 +493,17 @@
left: -400px;
}
}

.aw-hero {
gap: 0;

.aw-description {
margin-block-start: 1.25rem;
}

.aw-button {
margin-block-start: 1.5rem;
}
}
}
</style>
6 changes: 3 additions & 3 deletions src/scss/6-elements/_media-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
.#{$p}-media-container {
@include border-gradient;
--m-border-gradient-before: linear-gradient(186deg, rgba(255, 255, 255, 0.16) -1.41%, rgba(255, 255, 255, 0.00) 104.86%);
--p-media-container-border-radius:#{pxToRem(20)};
--p-media-container-border-radius:#{pxToRem(24)};
--m-border-radius: var(--p-media-container-border-radius);

--p-media-container-border-padding:#{pxToRem(7)};
--p-media-container-border-padding:#{pxToRem(8)};

--p-media-border-radius: #{pxToRem(16)};
--p-media-border-radius: calc(var(--p-media-container-border-radius) - var(--p-media-container-border-padding));

padding: var(--p-media-container-border-padding);
border-radius: var(--p-media-container-border-radius);
Expand Down