fix: move preview-header back to bottom, add spacing beneath
This commit is contained in:
@@ -69,16 +69,16 @@
|
||||
<button id="next-btn" class="btn btn-primary" data-i18n="next">Next</button>
|
||||
</div>
|
||||
<div class="preview-section">
|
||||
<div class="preview-header">
|
||||
<span class="preview-label" data-i18n="yourOutput">Your Output</span>
|
||||
<button id="show-expected-btn" class="btn btn-small" data-i18n="showExpected">Show Expected</button>
|
||||
</div>
|
||||
<div class="preview-wrapper">
|
||||
<div class="preview-frame" id="preview-area"></div>
|
||||
<div class="expected-overlay" id="expected-overlay">
|
||||
<div class="expected-frame" id="preview-expected"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="preview-header">
|
||||
<span class="preview-label" data-i18n="yourOutput">Your Output</span>
|
||||
<button id="show-expected-btn" class="btn btn-small" data-i18n="showExpected">Show Expected</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@@ -496,14 +496,14 @@ code, kbd {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
box-shadow: inset 0 40px 30px -30px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: inset 0 -40px 30px -30px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.preview-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: var(--spacing-xs) var(--spacing-md);
|
||||
padding: var(--spacing-xs) var(--spacing-md) var(--spacing-md);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user