Skip to content

Commit

Permalink
2024-04-29 09:19:37
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiKimera committed Apr 29, 2024
1 parent cf7e132 commit e31c99a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions assets/css/system/modules/_shortcodes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,9 @@ body {
// File.
// ---------------------------------------------------------------------------------------------------------- //

.card-body {
pre {
border-radius: 0;
margin: 0;
//max-height: calc(100vh - 10rem);
&-file {
.card-body {
max-height: calc(100vh - 10rem);
}
}

Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock-terminal.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ <h5 class="mb-0">{{ (i18n "terminal") }}</h5>
</div>
</div>
</div>
<div class="card-body p-0" id="cp-{{ ($cp) }}">{{ (highlight ($inner) ($lang)) }}</div>
<div class="card-body p-0 overflow-auto" id="cp-{{ ($cp) }}">{{ (highlight ($inner) ($lang)) }}</div>
</div>
</div>
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</div>
</div>
</div>
<div class="card-body p-0" id="cp-{{ ($cp) }}">{{ (highlight ($inner) ($type)) }}</div>
<div class="card-body p-0 overflow-auto" id="cp-{{ ($cp) }}">{{ (highlight ($inner) ($type)) }}</div>
</div>
</div>

Expand Down

0 comments on commit e31c99a

Please sign in to comment.