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:
parent
88b16e6445
commit
bc461cdde1
|
|
@ -47,4 +47,9 @@ export default {
|
|||
};
|
||||
</script>
|
||||
|
||||
<style></style>
|
||||
<style scoped>
|
||||
table {
|
||||
margin: auto;
|
||||
width: fit-content;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue