diff --git a/src/public/css/watchlistCreate.css b/src/public/css/watchlistCreate.css index 03c12711d09cc3847fd4d1ebd98e09d151afaa5c..054e8ff15aecad03f8f36fbd7617f166a781f242 100644 --- a/src/public/css/watchlistCreate.css +++ b/src/public/css/watchlistCreate.css @@ -3,6 +3,7 @@ flex-direction: column; gap: 4rem; align-items: flex-start; + margin-bottom: 8rem; } .container__form { @@ -49,12 +50,17 @@ } .actions { + position: fixed; + bottom: 0; + left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; width: 100%; + background-color: white; + padding: 2rem 3rem; } .btn__add-item { @@ -96,6 +102,8 @@ .actions { position: sticky; top: 8rem; + left: auto; + bottom: auto; max-width: 20rem; } } \ No newline at end of file diff --git a/src/seed/seed.sql b/src/seed/seed.sql index 95c0c9389697a29395f100ed8ff9f50027bf0f2b..4e6257e61d30c560c64b1348d3fd49ef03144a4a 100644 --- a/src/seed/seed.sql +++ b/src/seed/seed.sql @@ -1,21 +1,19 @@ --- Seed data for 'ANIME' category INSERT INTO catalogs (uuid, title, description, poster, trailer, category) SELECT md5(random()::text || clock_timestamp()::text)::uuid, - 'Anime Title ' || generate_series(1, 10), - 'Anime Description ' || generate_series(1, 10), + 'Anime Title ' || num, + 'Anime Description ' || num, '0f57456ef87ea61a.webp', '86fa25a6dad7fcc7.mp4', 'ANIME' -FROM generate_series(1, 10); +FROM generate_series(1, 100) AS num; --- Seed data for 'DRAMA' category INSERT INTO catalogs (uuid, title, description, poster, trailer, category) SELECT md5(random()::text || clock_timestamp()::text)::uuid, - 'Drama Title ' || generate_series(1, 10), - 'Drama Description ' || generate_series(1, 10), + 'Drama Title ' || num, + 'Drama Description ' || num, 'a9f6e15daf0eca96.webp', '86fa25a6dad7fcc7.mp4', 'DRAMA' -FROM generate_series(1, 10); +FROM generate_series(1, 100) AS num;