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

View File

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

View File

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