Skip to content

Commit

Permalink
ui
Browse files Browse the repository at this point in the history
  • Loading branch information
bidyashish committed Feb 12, 2025
1 parent 6dc429a commit c0e7904
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
18 changes: 18 additions & 0 deletions sources/packages/web/src/assets/css/student.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,21 @@
height: 100%;
min-height: 350px;
}

// Mobile-specific styles
.mobile-view {
:deep(.v-container) {
padding: 9px !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
}

:deep(.v-row) {
margin: 0 !important;
}

:deep(.v-col) {
padding: 9px !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<full-page-container
:layout-template="layoutTemplate"
:full-width="fullWidth"
:class="{ 'mobile-container': isMobile }"
:class="{ 'mobile-view': isMobile }"
>
<template #header>
<slot name="header"></slot>
Expand Down Expand Up @@ -50,9 +50,3 @@ export default defineComponent({
},
});
</script>

<style scoped>
.mobile-container :deep(.v-container) {
padding: 5px !important;
}
</style>
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
<template>
<student-page-container
:full-width="true"
:class="{ 'mobile-margin': isMobile }"
>
<student-page-container :full-width="true">
<template #header>
<header-navigator title="Applications" subTitle="My Applications">
<template #buttons>
<start-application />
<start-application :class="{ 'mb-2': isMobile }" />
</template>
</header-navigator>
</template>
<v-row>
<v-col cols="12">
<v-col cols="12" :class="{ 'pa-0': isMobile }">
<student-applications
:manage-application="true"
:enable-view-application-on-name="true"
:dense="isMobile"
@editApplicationAction="editApplicationAction"
@openConfirmCancel="confirmCancelApplication"
@goToApplication="goToApplication"
Expand Down

0 comments on commit c0e7904

Please sign in to comment.