Skip to content

Commit

Permalink
CSS: Set width for code examples, so they can be scrolled
Browse files Browse the repository at this point in the history
  • Loading branch information
CIAvash committed May 3, 2023
1 parent 9d44f7e commit e996641
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ pre code {

.raku-accordion-item {
margin-bottom: 10px;

@media (min-width: 991px) {
display: grid;
grid-template-columns: 15px 1fr 2fr;
}
}

.raku-accordion-input {
Expand Down Expand Up @@ -181,7 +186,7 @@ pre code {

.highlight {
width: 560px;
min-height: 480px;
height: 580px;
display: grid;
position: absolute;
top: 0;
Expand Down

0 comments on commit e996641

Please sign in to comment.