Skip to content

Commit

Permalink
Update: update min-height to use --adapt-navigation-height var (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Jan 7, 2025
1 parent 5ec4c50 commit f709dd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adapt-navigationTitle",
"version": "1.0.4",
"framework": ">=5.0.0",
"framework": ">=5.30.3",
"homepage": "https://github.com/cgkineo/adapt-navigationTitle",
"bugs": "https://github.com/cgkineo/adapt-navigationTitle/issues",
"extension": "navigationTitle",
Expand Down
5 changes: 1 addition & 4 deletions less/navigationTitle.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
.navigation-title {
// nav min height based on known icon btn size (vars defined in core)
@navMinHeight: (@icon-padding * 2) + @icon-size;

display: inline-flex;
align-items: center;
min-height: @navMinHeight;
min-height: var(--adapt-navigation-height);
padding-right: @icon-padding;
padding-left: @icon-padding;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adapt-navigationTitle",
"version": "1.0.4",
"framework": ">=5.0.0",
"framework": ">=5.30.3",
"homepage": "https://github.com/cgkineo/adapt-navigationTitle",
"bugs": "https://github.com/cgkineo/adapt-navigationTitle/issues",
"extension": "navigationTitle",
Expand Down

0 comments on commit f709dd4

Please sign in to comment.