fix(viewer): image bug

This commit is contained in:
enes 2024-12-24 17:09:01 +01:00
parent 137cd95c4e
commit cbd53852a5

View File

@ -99,41 +99,47 @@
padding-top: 10px;
min-height: 75px;
}
.viewer table {
table-layout: fixed;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
& > tbody > tr > td,
& > thead > tr > th {
border: 1px solid #e0e1e6;
padding: 0.25rem 0.5rem;
white-space: normal;
& > div {
outline: none;
& > p {
margin: 0;
}
}
.viewer {
img {
max-width: 100%;
height: auto;
}
table {
table-layout: fixed;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
& > tbody > tr > td,
& > thead > tr > th {
[align='left'] {
text-align: left;
}
[align='center'] {
text-align: center;
}
[align='right'] {
text-align: right;
}
}
border: 1px solid #e0e1e6;
padding: 0.25rem 0.5rem;
white-space: normal;
&:empty::before {
content: '\00A0';
& > div {
outline: none;
& > p {
margin: 0;
}
}
& > tbody > tr > td,
& > thead > tr > th {
[align='left'] {
text-align: left;
}
[align='center'] {
text-align: center;
}
[align='right'] {
text-align: right;
}
}
&:empty::before {
content: '\00A0';
}
}
}
}