1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

move p-4 to scoped class

This commit is contained in:
pat-s 2024-12-23 23:43:04 +01:00
parent c6c5c82722
commit 7b053725f5
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
3 changed files with 2 additions and 8 deletions

View File

@ -2,7 +2,7 @@
<component
:is="to ? 'router-link' : clickable ? 'button' : 'div'"
:to="to"
class="flex border-wp-background-400 bg-wp-background-100 dark:bg-wp-background-200 p-4 border rounded-md w-full overflow-hidden"
class="flex border-wp-background-400 bg-wp-background-100 dark:bg-wp-background-200 border rounded-md w-full overflow-hidden"
:class="{
'cursor-pointer hover:shadow-md hover:bg-wp-background-300 dark:hover:bg-wp-background-300': clickable || to,
}"

View File

@ -25,9 +25,3 @@ defineProps<{
pipelines: Pipeline[] | undefined;
}>();
</script>
<style scoped>
.pipeline-list {
@apply p-0;
}
</style>

View File

@ -66,6 +66,6 @@ const { doSubmit: repairRepos, isLoading: isRepairingRepos } = useAsyncAction(as
<style scoped>
.admin-repos {
@apply bg-wp-background-200 dark:bg-wp-background-100;
@apply bg-wp-background-200 dark:bg-wp-background-100 p-4;
}
</style>