Merge pull request 'poster-fixes' (#12) from poster-fixes into main

Reviewed-on: #12
This commit is contained in:
Edward Tirado Jr 2025-06-19 05:21:29 +00:00
commit f8177ac6ef
3 changed files with 10 additions and 5 deletions

8
.idea/workspace.xml generated
View file

@ -4,7 +4,11 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="5e320804-68c9-4504-97d5-d421de3438b2" name="Changes" comment="" /> <list default="true" id="5e320804-68c9-4504-97d5-d421de3438b2" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/modal-content/AddMovie.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/modal-content/AddMovie.vue" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/modal-content/ShowMovie.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/modal-content/ShowMovie.vue" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -60,7 +64,7 @@
"RunOnceActivity.git.unshallow": "true", "RunOnceActivity.git.unshallow": "true",
"WebServerToolWindowFactoryState": "false", "WebServerToolWindowFactoryState": "false",
"code.cleanup.on.save": "true", "code.cleanup.on.save": "true",
"git-widget-placeholder": "poster-improvements", "git-widget-placeholder": "main",
"junie.onboarding.icon.badge.shown": "true", "junie.onboarding.icon.badge.shown": "true",
"last_opened_file_path": "/home/tiradoe/Projects/MovieNight/movie-night-web", "last_opened_file_path": "/home/tiradoe/Projects/MovieNight/movie-night-web",
"list.type.of.created.stylesheet": "CSS", "list.type.of.created.stylesheet": "CSS",

View file

@ -1,7 +1,7 @@
<template> <template>
<div v-if="props.movie != null" class="sm:m-5 p-10 movie-card neon-border"> <div v-if="props.movie != null" class="sm:m-5 p-10 movie-card neon-border">
<div> <div>
<h2 id="modal-title" class="row pb-10"> <h2 id="modal-title" class="row pb-10 text-center sm:text-left">
{{ movie.title }} ({{ movie.year }}) {{ movie.title }} ({{ movie.year }})
</h2> </h2>
@ -9,7 +9,7 @@
<!-- MODAL POSTER --> <!-- MODAL POSTER -->
<MoviePoster <MoviePoster
:image="movie.poster" :image="movie.poster"
class="max-h-80 max-w-72 sm:max-h-none sm:max-w-none mx-auto sm:mx-none" class="max-h-72 max-w-60 sm:max-h-2xl sm:max-w-72 mx-auto sm:mx-0"
/> />
<div class="mx-auto sm:mx-none"> <div class="mx-auto sm:mx-none">

View file

@ -8,10 +8,11 @@
<div class="sm:inline-flex sm:space-x-5"> <div class="sm:inline-flex sm:space-x-5">
<MoviePoster <MoviePoster
:image="movie.poster" :image="movie.poster"
class="max-h-80 max-w-72 mx-auto sm:mx-none" class="max-h-80 max-w-60 mx-auto sm:mx-none"
/> />
<div class="pt-5 sm:pt-0"> <div class="pt-5 sm:pt-0">
<p>{{ movie.plot }}</p> <p>{{ movie.plot }}</p>
<ScheduleMovie <ScheduleMovie
v-if="logged_in" v-if="logged_in"
:movie="movie" :movie="movie"