webapp: avoid inline style in inverter channel info card
This commit is contained in:
parent
376912d821
commit
0aba1595df
@ -1,11 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="card"
|
class="card card-table"
|
||||||
:class="{
|
:class="{
|
||||||
'border-info': channelType == 'AC',
|
'border-info': channelType == 'AC',
|
||||||
'border-secondary': channelType == 'INV',
|
'border-secondary': channelType == 'INV',
|
||||||
}"
|
}"
|
||||||
style="overflow: hidden"
|
|
||||||
>
|
>
|
||||||
<div v-if="channelType == 'INV'" class="card-header text-bg-secondary">
|
<div v-if="channelType == 'INV'" class="card-header text-bg-secondary">
|
||||||
{{ $t('inverterchannelinfo.General') }}
|
{{ $t('inverterchannelinfo.General') }}
|
||||||
|
|||||||
@ -20,3 +20,9 @@ table.table tr:last-child td {
|
|||||||
table.table {
|
table.table {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.card.card-table {
|
||||||
|
// prevent tables in cards from
|
||||||
|
// messing up the bottom corner radii
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user