Skip to content

Commit

Permalink
style: responsiveness tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
João Antônio Hamerski Copetti committed Jan 8, 2024
1 parent a17c5c8 commit 0a55ee2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/AppContainer.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
class="shadow-lg rounded-2xl bg-slate-200 dark:bg-slate-800 scrollbar-thin dark:scrollbar-thumb-blue-800 dark:hover:scrollbar-thumb-blue-900 dark:scrollbar-track-gray-500 scrollbar-thumb-blue-500 hover:scrollbar-thumb-blue-600 scrollbar-track-gray-400 scrollbar-track-rounded-full scrollbar-thumb-rounded-full scroll-gutter-stable scroll-smooth"
class="shadow-lg rounded-2xl bg-slate-200 dark:bg-slate-800 md:scrollbar-thin dark:scrollbar-thumb-blue-800 dark:hover:scrollbar-thumb-blue-900 dark:scrollbar-track-gray-500 scrollbar-thumb-blue-500 hover:scrollbar-thumb-blue-600 scrollbar-track-gray-400 scrollbar-track-rounded-full scrollbar-thumb-rounded-full scroll-gutter-stable scroll-smooth"
>
<slot />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/toast/ToastAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const toastProps = computed(() => TOAST_TYPES_MAP[props.type])

<template>
<div
class="alert shadow-xl rounded-lg mb-3 whitespace-nowrap p-4"
class="alert shadow-xl rounded-md md:rounded-lg mb-2 md:mb-3 whitespace-nowrap p-2 md:p-4 flex flex-nowrap"
:class="toastProps.className"
>
<FWIcon
Expand Down
2 changes: 1 addition & 1 deletion src/components/toast/ToastComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const toasts = computed(() => toastStore.toasts)
<template>
<TransitionGroup
tag="div"
class="absolute top-3 right-3 z-50"
class="absolute right-2 top-2 md:top-3 md:right-3 z-50"
name="toast"
>
<ToastAlert
Expand Down
2 changes: 1 addition & 1 deletion src/views/profile/partials/ProfileHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defineProps<ProfileHeaderProps>()
({{ user.login }})
</div>
</div>
<div class="flex overflow-auto gap-8 text-xs md:text-sm">
<div class="flex overflow-auto gap-8 text-xs md:text-sm py-4 md:py-4">
<ProfileBadge
icon="fa-solid fa-users"
label="Seguidores:"
Expand Down

0 comments on commit 0a55ee2

Please sign in to comment.