mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 09:52:14 +01:00
Merge pull request #3693 from mempool/mononaut/preview-table-overflows
prevent table overflow in unfurl previews
This commit is contained in:
commit
9cf961c667
@ -3,7 +3,7 @@
|
|||||||
<span i18n="shared.address">Address</span>
|
<span i18n="shared.address">Address</span>
|
||||||
</app-preview-title>
|
</app-preview-title>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md">
|
<div class="col-md table-col">
|
||||||
<div class="row d-flex justify-content-between">
|
<div class="row d-flex justify-content-between">
|
||||||
<div class="title-wrapper">
|
<div class="title-wrapper">
|
||||||
<h1 class="title"><app-truncate [text]="addressString"></app-truncate></h1>
|
<h1 class="title"><app-truncate [text]="addressString"></app-truncate></h1>
|
||||||
|
@ -20,6 +20,11 @@
|
|||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-col {
|
||||||
|
max-width: calc(100% - 470px);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
margin-top: 48px;
|
margin-top: 48px;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<span i18n="shared.block-title">Block</span>
|
<span i18n="shared.block-title">Block</span>
|
||||||
</app-preview-title>
|
</app-preview-title>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm">
|
<div class="col-sm table-col">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="block-titles">
|
<div class="block-titles">
|
||||||
<h1 class="title">
|
<h1 class="title">
|
||||||
|
@ -44,6 +44,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-col {
|
||||||
|
max-width: calc(100% - 470px);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.chart-container {
|
.chart-container {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md">
|
<div class="col-md table-col">
|
||||||
<a class="subtitle" [routerLink]="['/lightning/channel' | relativeUrl, channel.id]">{{ channel.id }}</a>
|
<a class="subtitle" [routerLink]="['/lightning/channel' | relativeUrl, channel.id]">{{ channel.id }}</a>
|
||||||
<table class="table table-borderless table-striped">
|
<table class="table table-borderless table-striped">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
.table-col {
|
||||||
|
max-width: calc(100% - 470px);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
.table-col {
|
||||||
|
max-width: calc(100% - 470px);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
@ -18,10 +23,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-col {
|
|
||||||
max-width: calc(100% - 470px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.map-col {
|
.map-col {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user