Skip to content

Commit

Permalink
fix(tools): api schema field style (#189)
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Kadlec <[email protected]>
  • Loading branch information
kapetr authored Jan 21, 2025
1 parent bc251fc commit 593f112
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/modules/tools/manage/UserToolModal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,27 @@
}
}

$modalBlockSize: 84vh;
$modalOtherContentApproxSize: rem(460px);

.apiSchemaField {
> div {
max-block-size: 20rem;
min-block-size: 16rem;
max-block-size: calc($modalBlockSize - $modalOtherContentApproxSize);
overflow-y: auto;
display: block;
border-radius: $block-radius;

@include breakpoint-down(md) {
max-block-size: 24rem;
}

&:focus-within {
outline: 2px solid $focus;
}
textarea:focus {
outline: none;
textarea {
&:focus {
outline: none;
}
}
}
}

0 comments on commit 593f112

Please sign in to comment.