mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-26 00:04:29 +00:00
UI cleanups and improvements (#2548)
This commit is contained in:
11
web/src/components/layout/Container.vue
Normal file
11
web/src/components/layout/Container.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<div class="w-full p-4 mx-auto" :class="{ 'max-w-5xl': !fullWidth, 'md:px-0': fullWidth }">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
fullWidth?: boolean;
|
||||
}>();
|
||||
</script>
|
||||
Reference in New Issue
Block a user