fix: 🚑 issue content images max size + flex-list
This commit is contained in:
parent
5a4975650a
commit
422f0c1fc7
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -383,6 +383,24 @@
|
||||||
--color-light: transparent !important;
|
--color-light: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex-list {
|
||||||
|
.flex-item {
|
||||||
|
.flex-item-main {
|
||||||
|
gap: var.get('measure/.25x');
|
||||||
|
|
||||||
|
.flex-item-header {
|
||||||
|
.flex-item-title {
|
||||||
|
gap: var.get('measure/.5x');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-item-body:not(:last-child) {
|
||||||
|
margin-bottom: var.get('measure/1x');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@include chroma.make-chroma-styles;
|
@include chroma.make-chroma-styles;
|
||||||
@include codemirror.make-code-mirror-styles;
|
@include codemirror.make-code-mirror-styles;
|
||||||
@include monaco.make-monaco-styles($is-dark: true);
|
@include monaco.make-monaco-styles($is-dark: true);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
@mixin apply-styles {
|
||||||
|
.issue-content {
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
@use './project';
|
@use './project';
|
||||||
@use './home';
|
@use './home';
|
||||||
@use './markup';
|
@use './markup';
|
||||||
|
@use './issue-content';
|
||||||
|
|
||||||
@mixin apply-custom-styles {
|
@mixin apply-custom-styles {
|
||||||
@include repo-header.apply-styles();
|
@include repo-header.apply-styles();
|
||||||
|
|
@ -10,4 +11,5 @@
|
||||||
@include project.apply-styles();
|
@include project.apply-styles();
|
||||||
@include home.apply-styles();
|
@include home.apply-styles();
|
||||||
@include markup.apply-styles();
|
@include markup.apply-styles();
|
||||||
|
@include issue-content.apply-styles();
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue