mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 07:23:10 +02:00
画像ダイアログでスクロールが発生しないように
This commit is contained in:
parent
2b69fca6bd
commit
888dcd2559
1 changed files with 8 additions and 2 deletions
|
@ -41,10 +41,13 @@ export default defineComponent({
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.xubzgfga {
|
.xubzgfga {
|
||||||
max-width: 1024px;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
> header,
|
> header,
|
||||||
> footer {
|
> footer {
|
||||||
|
align-self: center;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 6px 9px;
|
padding: 6px 9px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
|
@ -60,7 +63,10 @@ export default defineComponent({
|
||||||
|
|
||||||
> img {
|
> img {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
object-fit: contain;
|
||||||
|
width: 100%;
|
||||||
cursor: zoom-out;
|
cursor: zoom-out;
|
||||||
image-orientation: from-image;
|
image-orientation: from-image;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue