Skip to content

Commit

Permalink
IBX-6985: Product code badge at wrong position (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Nov 16, 2023
1 parent f166850 commit 4384251
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/bundle/Resources/public/scss/_badges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
border-radius: calculateRem(12px);
background-color: $ibexa-color-light-500;
white-space: nowrap;
display: inline-block;

&--status {
position: relative;
Expand Down
9 changes: 8 additions & 1 deletion src/bundle/Resources/public/scss/_page-title.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@
}

&__title {
display: flex;
align-items: center;
overflow: hidden;
}

&__content {
display: inline-block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.ibexa-badge {
margin: calculateRem(5px) 0 0 calculateRem(16px);
margin-left: calculateRem(16px);
font-family: $ibexa-font-family;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="ibexa-page-title">
<div class="ibexa-page-title__top">
<h1 class="ibexa-page-title__title">
{{ title }}
<span class="ibexa-page-title__content" title="{{ title }}">{{ title }}</span>
{% block tag %}
{% if tag is defined %}
{% set attr = tag_attr|default({})|merge({
Expand Down

0 comments on commit 4384251

Please sign in to comment.