Skip to content

Commit

Permalink
create/patch subject styling
Browse files Browse the repository at this point in the history
  • Loading branch information
masinnae committed May 23, 2024
1 parent 049b7f7 commit 173b4ae
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
variant="elevated"
:color="instructor!.is_teacher ? `primary` : `green`"
@click:close="$emit('remove-instructor', instructor)"
class="ma-1"
class="ma-1 chip"
>
<v-icon
:icon="instructor!.is_teacher ? `mdi-account-tie-outline` : `mdi-school`"
Expand Down Expand Up @@ -41,6 +41,10 @@ defineEmits<{
padding: 20px;
}
.chip {
min-width: fit-content;
}
.card-title {
font-size: 24px;
text-transform: capitalize;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-card variant="text" class="title-card" width="100%" height="50vh">
<v-card variant="text" class="title-card" width="100%" height="350px">
<v-card-title class="card-title">
{{ $t("create_subject.search_for_instructors") }}
</v-card-title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const userIsInstructor = (user: User) => {
<style scoped>
.scrollable-list {
overflow-y: auto;
max-height: 30vh;
max-height: 200px;
scrollbar-width: none;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-card variant="text" class="title-card" width="100%" height="45vh">
<v-card variant="text" class="title-card" width="100%" height="300px">
<v-card-title class="title">
{{ title }}
</v-card-title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ defineProps<{

<style scoped>
.header-img {
height: 45vh;
height: 300px;
}
</style>
1 change: 1 addition & 0 deletions frontend/src/views/subject/modify/CreateSubjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ async function handleSubmit() {
.back-button {
margin: 30px;
z-index: 10;
}
.flex-container {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/subject/modify/PatchSubjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ async function handleSubmit() {
.back-button {
margin: 30px;
z-index: 10;
}
.flex-container {
Expand Down

0 comments on commit 173b4ae

Please sign in to comment.