mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 11:55:05 +03:00
This PR migrates the whole monorepo to use Tailwind v4: - Removed `@tailwindcss/container-queries` plugin since it's included by default in v4, - Bump all instances of Tailwind to v4. Made minimal changes to the shared config to remove non-supported features (`alpha` mentions), - Migrate all apps to be compatible with v4 configs, - Fix the `typography.css` import in 3 apps, - Add missing rules which were included by default in v3, - Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot of classes - Rename all misnamed classes according to https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all apps. --------- Co-authored-by: Jordi Enric <jordi.err@gmail.com>
60 lines
979 B
CSS
60 lines
979 B
CSS
@reference "./main.css";
|
|
|
|
.storage-container {
|
|
.sbui-space-col {
|
|
@apply grow;
|
|
#files {
|
|
@apply h-full;
|
|
}
|
|
}
|
|
.sbui-btn {
|
|
@apply focus:outline-hidden;
|
|
}
|
|
.sbui-btn-default {
|
|
@apply border;
|
|
border-color: transparent !important;
|
|
}
|
|
.sbui-checkbox-container {
|
|
@apply w-auto;
|
|
}
|
|
.sbui-input-container {
|
|
input {
|
|
@apply text-sm;
|
|
}
|
|
.sbui-btn-container {
|
|
.sbui-btn {
|
|
@apply py-1;
|
|
}
|
|
}
|
|
}
|
|
.sbui-menu__item {
|
|
span {
|
|
@apply text-sm;
|
|
}
|
|
}
|
|
.sbui-overlay-container {
|
|
@apply z-10;
|
|
}
|
|
}
|
|
|
|
/* May need to just comment this out, the smooth scrolling looks weird */
|
|
/* .file-explorer { */
|
|
/* scroll-behavior: smooth; */
|
|
/* } */
|
|
|
|
.storage-row:hover,
|
|
button[aria-haspopup='menu'][data-state='open'],
|
|
button[aria-haspopup='menu']:focus-visible {
|
|
.storage-row-menu {
|
|
@apply opacity-100;
|
|
}
|
|
}
|
|
|
|
.sql-editor-container {
|
|
@apply p-0;
|
|
}
|
|
|
|
.sbui-dropdown__trigger:focus {
|
|
outline: none;
|
|
}
|