Skip to content

Commit

Permalink
docs: resolve extra padding on tutorial editor
Browse files Browse the repository at this point in the history
As of this commit, there is a visual discrepancy between the height of the content on the left compared to the separator and editors on the right. It appears that the cause of this is an additional computation of layout padding which is unnecessary for these particular elements.
  • Loading branch information
bencodezen committed May 6, 2024
1 parent 8f273ce commit cd1408c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adev/src/app/features/tutorial/tutorial.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $column-width: calc(50% - #{$resizer-width} - var(--layout-padding));
margin-block-start: var(--layout-padding);
cursor: col-resize;
align-self: stretch;
height: var(--fixed-content-height);
height: 100vh;

&::before {
content: '';
Expand Down Expand Up @@ -133,7 +133,7 @@ $column-width: calc(50% - #{$resizer-width} - var(--layout-padding));
width: 100%;
min-width: 300px;
padding-block-start: var(--layout-padding);
height: var(--fixed-content-height);
height: 100vh;
}

.adev-split-tutorial {
Expand Down

0 comments on commit cd1408c

Please sign in to comment.