clean up css
This commit is contained in:
parent
b2bf80f3ce
commit
78aeb55bc5
2 changed files with 16 additions and 30 deletions
|
@ -157,7 +157,7 @@ function ClaimPreviewTile(props: Props) {
|
|||
{!isChannel && (
|
||||
<React.Fragment>
|
||||
{/* @if TARGET='app' */}
|
||||
<div className="claim-tile__hover-actions">
|
||||
<div className="claim-preview__hover-actions">
|
||||
<FileDownloadLink uri={canonicalUrl} hideOpenButton />
|
||||
</div>
|
||||
{/* @endif */}
|
||||
|
|
|
@ -93,20 +93,6 @@
|
|||
margin-right: var(--spacing-medium);
|
||||
}
|
||||
|
||||
.claim-preview__hover-actions {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: var(--spacing-miniscule);
|
||||
right: var(--spacing-miniscule);
|
||||
|
||||
& > * {
|
||||
color: var(--color-black);
|
||||
background-color: var(--color-white);
|
||||
padding: var(--spacing-xsmall);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.claim-preview__hover-actions {
|
||||
display: block;
|
||||
|
@ -421,22 +407,8 @@
|
|||
}
|
||||
|
||||
.claim-preview--tile {
|
||||
.claim-tile__hover-actions {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: var(--spacing-miniscule);
|
||||
right: var(--spacing-miniscule);
|
||||
|
||||
& > * {
|
||||
color: var(--color-black);
|
||||
background-color: var(--color-white);
|
||||
padding: var(--spacing-xsmall);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.claim-tile__hover-actions {
|
||||
.claim-preview__hover-actions {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
@ -458,3 +430,17 @@
|
|||
margin: var(--spacing-small);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.claim-preview__hover-actions {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: var(--spacing-miniscule);
|
||||
right: var(--spacing-miniscule);
|
||||
|
||||
& > * {
|
||||
color: var(--color-black);
|
||||
background-color: var(--color-white);
|
||||
padding: var(--spacing-xsmall);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue