-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: yaml module height drag (#630)
## What type of PR is this? <!-- Add one of the following kinds: /kind bug /kind cleanup /kind refactor /kind documentation /kind feature /kind chore /kind perf /kind style /kind test --> ## What this PR does / why we need it: ![1111](https://github.com/user-attachments/assets/7038052c-d446-4eb7-9208-c9a54e816252) ## Which issue(s) this PR fixes: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. _If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_* --> Fixes #
- Loading branch information
Showing
3 changed files
with
55 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
.yaml_content { | ||
position: relative; | ||
height: 100%; | ||
overflow-y: auto; | ||
border-radius: 8px; | ||
|
||
.copy { | ||
position: absolute; | ||
top: 20px; | ||
right: 20px; | ||
} | ||
|
||
.yaml_box { | ||
width: 100%; | ||
height: 500px; | ||
max-height: 800px; | ||
min-height: 300px; | ||
padding: 1.5rem 2rem; | ||
overflow-y: auto; | ||
font: | ||
1.1em Inconsolata, | ||
monospace; | ||
color: #fff; | ||
word-break: break-all; | ||
white-space: pre-wrap; | ||
.yaml_container { | ||
height: 100%; | ||
background-color: #000; | ||
border-radius: 8px; | ||
box-sizing: border-box; | ||
.yaml_box { | ||
width: 100%; | ||
padding: 1.5rem 2rem; | ||
overflow-y: auto; | ||
font: | ||
1.1em Inconsolata, | ||
monospace; | ||
color: #fff; | ||
word-break: break-all; | ||
white-space: pre-wrap; | ||
background-color: #000; | ||
border-radius: 8px; | ||
box-sizing: border-box; | ||
} | ||
} | ||
} |