Fix alignment of box content (#2471)

This commit is contained in:
Thomas Rittson 2022-03-29 06:17:01 +10:00 committed by GitHub
parent f804da3102
commit 4607e9d0ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 10 deletions

View File

@ -120,11 +120,6 @@
}
.action-buttons {
&.count {
align-self: start;
margin-top: 10px;
}
.row-btn {
padding-left: 5px;
padding-right: 5px;
@ -260,7 +255,6 @@
display: block;
width: 100%;
margin-bottom: 5px;
min-height: 1em;
@include themify($themes) {
color: themed("mutedColor");
@ -311,7 +305,6 @@
.row-main {
flex-grow: 1;
min-width: 0;
align-self: start;
}
&.box-content-row-flex,
@ -462,9 +455,13 @@
.action-buttons {
display: flex;
align-self: start;
margin-left: 5px;
&.action-buttons-fixed {
align-self: start;
margin-top: 2px;
}
.row-btn {
cursor: pointer;
padding: 10px 8px;

View File

@ -38,7 +38,7 @@
<span>{{ cipher.linkedFieldI18nKey(field.linkedId) | i18n }}</span>
</div>
</div>
<div class="action-buttons">
<div class="action-buttons action-buttons-fixed">
<button
type="button"
class="row-btn"

View File

@ -74,7 +74,7 @@
[innerHTML]="cipher.login.password | colorPasswordCount"
></div>
</div>
<div class="action-buttons">
<div class="action-buttons action-buttons-fixed">
<button
type="button"
#checkPasswordBtn