Created component CodePreview
Этот коммит содержится в:
@@ -234,6 +234,7 @@
|
||||
|
||||
.file-details__container {
|
||||
@include display-flex;
|
||||
background: $white;
|
||||
|
||||
.file-details {
|
||||
height: 270px;
|
||||
|
||||
@@ -256,13 +256,27 @@
|
||||
}
|
||||
|
||||
> div {
|
||||
background: $white;
|
||||
display: inline-block;
|
||||
min-height: 100px;
|
||||
min-width: 320px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
code {
|
||||
min-height: 130px;
|
||||
min-width: 330px;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.post-body--code {
|
||||
max-height: calc(100vh - 80px);
|
||||
max-width: calc(100vw - 80px);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
Ссылка в новой задаче
Block a user