mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Small css change
This commit is contained in:
parent
88faeb5178
commit
a3ded83292
1 changed files with 27 additions and 30 deletions
|
@ -1387,24 +1387,6 @@ table.dataTable {
|
|||
height: 100px;
|
||||
position: relative;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.avatar-container:hover {
|
||||
.avatar-edit {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.avatar-edit-text {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar-image {
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.avatar-edit {
|
||||
background-color: $color-silver-chalice;
|
||||
|
@ -1427,6 +1409,21 @@ table.dataTable {
|
|||
width: inherit;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.avatar-edit,
|
||||
.avatar-edit-text {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar-image {
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
.avatar-file-upload input[type=file] {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue