Skip to content

Commit 7643697

Browse files
mlopezFCjavier-godoy
authored andcommitted
fix: avoid using h4 for styling purposes
Close #77
1 parent e8e78c0 commit 7643697

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/resources/META-INF/resources/frontend/fc-applayout/fc-fusion-layout.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ export class FusionLayout extends LitElement {
138138
width: 100%;
139139
height: 100%;
140140
}
141+
.profile-title {
142+
width: 100%;
143+
display: block;
144+
font-size: large;
145+
font-weight: bold;
146+
}
141147
142148
`,
143149
];
@@ -148,7 +154,7 @@ export class FusionLayout extends LitElement {
148154
<fc-applayout reveals=${this.reveals} swipeOpen=${this.swipeOpen} fixed=${this.fixed} id="fusionLayout">
149155
<div slot="profile" style="text-align: center;">
150156
<img src=${this.profilePicture} alt=${this.profilePictureAlt} style="width: 80px; margin-top: 20px;">
151-
<h4 slot="profile">${this.userName}</h4>
157+
<span class="profile-title" slot="profile">${this.userName}</span>
152158
</div>
153159
<img slot="title" class="applogo" src=${this.appLogo} alt=${this.appLogoAlt} style="width:50px">
154160
<div slot="title" main-title="">${this.title}</div>

0 commit comments

Comments
 (0)