Skip to content

Commit

Permalink
fix(header): use grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavrajsingh2001 committed Nov 22, 2024
1 parent 963a1da commit cc474ad
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</div>

<a
class="github-link"
href="https://github.com/Kong/spec-renderer"
rel="noopener noreferrer"
target="_blank"
Expand Down Expand Up @@ -185,9 +186,9 @@ const { isOverDropZone } = useDropZone(dropZoneRef, {
align-items: center;
background-color: $kui-color-background-neutral;
color: $kui-color-text-inverse;
display: flex;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
height: $header-height;
justify-content: space-between;
padding: $kui-space-20 $kui-space-40;
Expand All @@ -206,6 +207,7 @@ const { isOverDropZone } = useDropZone(dropZoneRef, {
align-items: center;
display: inline-flex;
gap: $kui-space-40;
justify-self: center;
.language-selector {
:deep(.trigger-button) {
Expand Down Expand Up @@ -238,6 +240,9 @@ const { isOverDropZone } = useDropZone(dropZoneRef, {
}
}
.github-link {
justify-self: end;
}
}
.spec-container.default-theme {
Expand Down

0 comments on commit cc474ad

Please sign in to comment.