mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-13 18:19:27 +00:00
update(Cis Profil picture): instead of using cover, uses contain for the cis profile picture and adds a black border and background color
This commit is contained in:
@@ -348,7 +348,7 @@ html {
|
||||
background-color: var(--fhc-cis-primary);
|
||||
}
|
||||
#nav-user-btn img {
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
height: calc(var(--fhc-cis-header-height) - 2 * var(--fhc-cis-header-py));
|
||||
width: calc(var(--fhc-cis-header-height) - 2 * var(--fhc-cis-header-py));
|
||||
}
|
||||
@@ -359,7 +359,7 @@ html {
|
||||
}
|
||||
|
||||
#nav-user-menu img {
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
height: calc( 3 * var(--fhc-cis-header-py));
|
||||
}
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ export default {
|
||||
</a>
|
||||
<div id="nav-user">
|
||||
<button id="nav-user-btn" class="btn btn-link rounded-0" type="button" data-bs-toggle="collapse" data-bs-target="#nav-user-menu" aria-expanded="false" aria-controls="nav-user-menu">
|
||||
<img :src="avatarUrl" class="avatar rounded-circle"/>
|
||||
<img :src="avatarUrl" class="bg-dark avatar rounded-circle border border-dark"/>
|
||||
</button>
|
||||
<ul ref="navUserDropdown"
|
||||
@[\`shown.bs.collapse\`]="handleShowNavUser"
|
||||
|
||||
Reference in New Issue
Block a user