changed card-tools position absolute to float right

- added card-title float:left
- changed card-header & card-title padding
pull/2197/head
REJack 5 years ago
parent 40007571f9
commit 9d55dee3ad
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888

@ -94,6 +94,7 @@ html.maximized-card {
background-color: transparent; background-color: transparent;
border-bottom: 1px solid $card-border-color; border-bottom: 1px solid $card-border-color;
position: relative; position: relative;
padding: ($card-spacer-y / 3) * 2 $card-spacer-x;
@if $enable-rounded { @if $enable-rounded {
@include border-top-radius($border-radius); @include border-top-radius($border-radius);
@ -104,9 +105,8 @@ html.maximized-card {
} }
> .card-tools { > .card-tools {
position: absolute; float: right;
right: 1rem; margin-right: -$card-spacer-y/3;
top: .5rem;
[data-toggle='tooltip'] { [data-toggle='tooltip'] {
position: relative; position: relative;
@ -115,9 +115,11 @@ html.maximized-card {
} }
.card-title { .card-title {
float: left;
font-size: $card-title-font-size; font-size: $card-title-font-size;
font-weight: $card-title-font-weight; font-weight: $card-title-font-weight;
margin: 0; margin: 0;
padding: $card-spacer-y/3 0;
} }
// Box Tools Buttons // Box Tools Buttons

Loading…
Cancel
Save