Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Make the content switcher modal top rounded
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Jan 16, 2023
1 parent f2af13e commit 40df59f
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/VContentSwitcher/VSearchTypePopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</template>
<VSearchTypes
id="content-switcher-popover"
class="w-[260px] pt-2"
class="pt-2"
size="small"
:use-links="placement === 'header'"
@select="handleSelect"
Expand Down
1 change: 1 addition & 0 deletions src/components/VContentSwitcher/VSearchTypes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:bordered="bordered"
type="radiogroup"
class="z-10"
:class="{ 'w-[260px]': size === 'small' }"
>
<div
v-for="(category, index) in contentTypeGroups"
Expand Down
2 changes: 1 addition & 1 deletion src/components/VHomepageContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
>
<VSearchTypes
size="small"
class="w-[260px] pt-2"
class="pt-2"
:use-links="false"
@select="handleSelect"
/>
Expand Down
9 changes: 6 additions & 3 deletions src/components/VModal/VModalContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,18 +209,21 @@ export default defineComponent({
.modal-content-default {
@apply text-left align-bottom md:rounded-t-md;
}
.modal-content-full {
@apply flex w-full flex-col justify-between px-6 pb-10;
}
.modal-two-thirds {
@apply mt-auto h-2/3 w-full rounded-t-lg bg-white;
}
.modal-fit-content {
@apply mt-auto w-full rounded-t-lg bg-white;
}
.modal-content-full {
@apply flex w-full flex-col justify-between px-6 pb-10;
}
.modal-content-two-thirds {
@apply overflow-y-hidden rounded-t-md;
}
.modal-content-fit-content {
@apply rounded-t-md;
}
.modal-content-dark {
@apply bg-black text-white;
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 40df59f

Please sign in to comment.