mempool/frontend/src/app/components/transaction/transaction.component.scss
softsimon a643f50016
Merge pull request #1012 from mempool/simon/cpfp-button-overlap-fix
Correcting CPFP button position on mobile
2021-12-15 13:11:04 +04:00

141 lines
1.8 KiB
SCSS

.adjust-btn-padding {
padding: 0.55rem;
}
.container-buttons {
align-self: center;
}
.title-block {
flex-wrap: wrap;
@media (min-width: 650px) {
flex-direction: row;
}
h1 {
margin: 0rem;
line-height: 1;
}
}
.tx-link {
display: flex;
flex-grow: 1;
margin-bottom: 0px;
margin-top: 8px;
@media (min-width: 650px) {
align-self: end;
margin-left: 15px;
margin-top: 0px;
margin-bottom: -3px;
}
@media (min-width: 768px) {
margin-bottom: 0px;
top: 1px;
position: relative;
}
@media (max-width: 768px) {
order: 3;
}
}
.td-width {
width: 150px;
@media (max-width: 768px) {
width: 175px;
}
}
.badge {
position: relative;
top: -1px;
}
.btn-small-height {
line-height: 1.1;
}
.arrow-green {
color: #1a9436;
}
.arrow-red {
color: #dc3545;
}
.container-xl {
margin-bottom: 40px;
}
.row{
flex-direction: column;
@media (min-width: 850px) {
flex-direction: row;
}
}
@media (max-width: 767.98px) {
.mobile-bottomcol {
margin-top: 15px;
}
.details-table td:first-child {
white-space: pre-wrap;
}
}
.fiat {
display: block;
@media (min-width: 768px){
display: inline-block;
margin-left: 15px;
text-align: left;
}
}
.table {
tr td {
padding: 0.75rem 0.5rem;
@media (min-width: 576px) {
padding: 0.75rem 0.75rem;
}
&:last-child {
text-align: right;
@media (min-width: 850px) {
text-align: left;
}
}
.btn {
display: block;
}
}
}
.effective-fee-container {
display: block;
@media (min-width: 768px){
display: inline-block;
}
}
.title {
h2 {
line-height: 1;
margin: 0;
padding-bottom: 10px;
}
}
.btn-outline-info {
margin-top: 5px;
@media (min-width: 768px){
margin-top: 0px;
}
}
.details-button {
margin-top: -5px;
@media (min-width: 768px){
display: inline-block;
margin-top: 0px;
}
}