Bug 10190: Center tables in add modal

Signed-off-by: Michaela <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Martin Renvoize 2026-02-27 08:01:10 +00:00 committed by Pedro Amorim
parent 88b16e6445
commit bc461cdde1
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 12 additions and 2 deletions

View File

@ -47,4 +47,9 @@ export default {
};
</script>
<style></style>
<style scoped>
table {
margin: auto;
width: fit-content;
}
</style>

View File

@ -1,6 +1,6 @@
<template>
<slot></slot>
<table>
<table :class="{ centered: modal }">
<thead>
<th v-if="!modal" class="trigger_context">
{{ $__("Library") }}
@ -354,4 +354,9 @@ th.trigger_context {
.border_right {
border-right: solid 4px black;
}
table.centered {
margin: auto;
width: fit-content;
}
</style>