Skip to content

Commit 87f45cd

Browse files
authored
Merge branch 'main' into fix/report-issue-title
2 parents c5216fe + b9b5c18 commit 87f45cd

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

frontend/app/components/modules/project/components/shared/header/repository-switch.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ Copyright (c) 2025 The Linux Foundation and each contributor.
33
SPDX-License-Identifier: MIT
44
-->
55
<template>
6-
<lfx-modal v-model="isModalOpen">
7-
<div class="p-1 flex flex-col gap-1">
6+
<lfx-modal
7+
v-model="isModalOpen"
8+
content-class="flex w-full justify-stretch items-stretch"
9+
>
10+
<div class="p-1 flex flex-col gap-1 w-full">
811

912
<nuxt-link
1013
:to="{ name: routeName.project }"

frontend/app/components/uikit/modal/modal.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ SPDX-License-Identifier: MIT
1111
>
1212
<div
1313
class="c-modal__content"
14+
:class="props.contentClass"
1415
:style="{ 'max-width': props.width }"
1516
v-bind="$attrs"
1617
@click.stop
@@ -27,6 +28,7 @@ import { computed, watch } from 'vue';
2728
2829
const props = withDefaults(defineProps<{
2930
modelValue: boolean,
31+
contentClass?: string,
3032
width?: string,
3133
closeFunction?:() => boolean,
3234
}>(), {

0 commit comments

Comments
 (0)