Skip to content

Commit

Permalink
refactor(uip-editor): small stylistic fixes for header section
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed Oct 10, 2023
1 parent db59dcc commit c92e5f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/plugins/editor/editor.header.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ html {
border-bottom: 1px solid var(--uip-editor-divider, transparent);

font-weight: 500;
padding: 2px 10px;

.uip-editor[label] &,
.uip-editor[collapsible] & {
padding: 2px 10px;
}

&-title {
margin-inline-end: auto;
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/editor/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ html {

&-container {
flex: 1 1 auto;
color: inherit;
}
&-container &-code {
margin: 0;
padding: 0;
color: initial;
color: inherit;
background: none;
}

Expand Down

0 comments on commit c92e5f2

Please sign in to comment.