Skip to content

Commit

Permalink
fix: add explicit styles for welcome tab
Browse files Browse the repository at this point in the history
Closes #4555
  • Loading branch information
jarekdanielak committed Oct 10, 2024
1 parent 388d7ed commit 7cebf86
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to the [Camunda Modeler](https://github.com/camunda/camunda-

___Note:__ Yet to be released changes appear here._

* `FIX`: add explicit styles for welcome tab ([#4555](https://github.com/camunda/camunda-modeler/issues/4555))

## 5.28.0

### General
Expand Down
4 changes: 4 additions & 0 deletions client/src/app/EmptyTab.less
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
font-weight: 14px;
}

p {
font-size: 100%;
}

.relative {
position: relative;
}
Expand Down
2 changes: 1 addition & 1 deletion client/src/app/primitives/TabLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default class TabLinks extends PureComponent {
onClick={ placeholder.onClick }
title={ placeholder.title }
>
<span className="tab__content">
<span className="tab__content tab__name-welcome">
{ placeholder.label }
</span>
</div>
Expand Down
4 changes: 4 additions & 0 deletions client/src/app/primitives/Tabbed.less
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
margin: 0 28px 0 0;
}

.tab__name-welcome {
font-size: var(--tab-font-size);
}

.tab__dirty-marker {
pointer-events: all;
z-index: 5;
Expand Down

0 comments on commit 7cebf86

Please sign in to comment.