mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
animation fixes
This commit is contained in:
parent
3e912f9203
commit
996d986570
@ -7,15 +7,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
display: table;
|
|
||||||
border-top: 1px solid $brand-grey-lighter;
|
border-top: 1px solid $brand-grey-lighter;
|
||||||
|
|
||||||
tr {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
display: table;
|
|
||||||
margin-left: $spacer;
|
margin-left: $spacer;
|
||||||
width: calc(100% - #{$spacer});
|
width: calc(100% - #{$spacer});
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
@ -33,6 +27,7 @@
|
|||||||
|
|
||||||
td {
|
td {
|
||||||
padding: $spacer / 4 $spacer / 2;
|
padding: $spacer / 4 $spacer / 2;
|
||||||
|
vertical-align: top;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
@ -56,3 +51,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.label {
|
||||||
|
min-width: 15rem;
|
||||||
|
}
|
||||||
|
@ -64,7 +64,7 @@ export const VersionTableContracts = ({
|
|||||||
return (
|
return (
|
||||||
<tr key={key}>
|
<tr key={key}>
|
||||||
<td>
|
<td>
|
||||||
<span className={styles.label}>{key}</span>
|
<code className={styles.label}>{key}</code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href={submarineLink}>
|
<a href={submarineLink}>
|
||||||
@ -84,7 +84,7 @@ export const VersionTableCommons = () => (
|
|||||||
{Object.entries(commonsConfig).map(([key, value]) => (
|
{Object.entries(commonsConfig).map(([key, value]) => (
|
||||||
<tr key={key}>
|
<tr key={key}>
|
||||||
<td>
|
<td>
|
||||||
<strong>{key}</strong>
|
<code className={styles.label}>{key}</code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<code>{value}</code>
|
<code>{value}</code>
|
||||||
|
@ -7,11 +7,12 @@ import VersionNumber from './VersionNumber'
|
|||||||
|
|
||||||
const VersionTableRow = ({ value }: { value: any }) => {
|
const VersionTableRow = ({ value }: { value: any }) => {
|
||||||
const collapseStyles = {
|
const collapseStyles = {
|
||||||
transition: '0.01s'
|
transitionDuration: '0.01s'
|
||||||
}
|
}
|
||||||
|
|
||||||
const expandStyles = {
|
const expandStyles = {
|
||||||
transition: '0.01s'
|
transitionDuration: '0.01s',
|
||||||
|
transitionTimingFunction: 'ease-out'
|
||||||
}
|
}
|
||||||
|
|
||||||
const { getCollapseProps, getToggleProps, isOpen } = useCollapse({
|
const { getCollapseProps, getToggleProps, isOpen } = useCollapse({
|
||||||
|
@ -239,11 +239,6 @@ table {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: $spacer * $line-height;
|
margin-bottom: $spacer * $line-height;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
display: block;
|
|
||||||
|
|
||||||
// make 'em scrollable
|
|
||||||
overflow: auto;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
|
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user