Skip to content

Commit

Permalink
[Content] Prevent head tags tab height overflow (#2952)
Browse files Browse the repository at this point in the history
  • Loading branch information
finnar-bin authored Sep 12, 2024
1 parent d714d8a commit fc29e45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
flex: 1;
overflow: scroll;
background-color: #f9fafb;
height: 100%;

// .Head {
// display: flex;
Expand Down
3 changes: 2 additions & 1 deletion src/shell/components/Head/Head.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
@import "~@zesty-io/core/typography.less";

.Head {
height: 100%;
display: flex;
flex-direction: column-reverse;
display: grid;
grid-template-columns: minmax(400px, 1fr) 1fr;
.Tags {
height: calc(100vh - 54px);
height: 100%;
overflow-y: scroll;
margin-left: 16px;
}
Expand Down
1 change: 1 addition & 0 deletions src/shell/components/Head/Preview/Preview.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
overflow: scroll;

.TagPreview {
height: 100%;
font-size: 14px;
font-family: "Courier New", Courier, monospace;
padding: 16px;
Expand Down

0 comments on commit fc29e45

Please sign in to comment.