Commit 75d81727 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Simplify styles in `Annotation`

parent 58bac04c
...@@ -60,7 +60,7 @@ function Annotation({ ...@@ -60,7 +60,7 @@ function Annotation({
return ( return (
<article <article
className={classnames('Annotation', { className={classnames('Annotation', 'hyp-u-vertical-spacing', {
'Annotation--missing': !annotation, 'Annotation--missing': !annotation,
'Annotation--reply': isReply, 'Annotation--reply': isReply,
'is-collapsed': threadIsCollapsed, 'is-collapsed': threadIsCollapsed,
......
@use '../../mixins/buttons';
@use '../../mixins/layout';
@use '../../variables' as var;
// When hovering a top-level annotation, show the footer in a hovered state.
// When hovering a reply (at any level), show the reply's own footer in
// a hovered state and also the footer of the top-level annotation.
// TODO: Make these work again or remove
.ThreadList__card:hover > .Annotation,
.Annotation:hover {
.Annotation-replies__link,
.Annotation-replies__count,
.Annotation-action-btn {
color: var.$grey-6;
}
}
.Annotation {
@include layout.vertical-rhythm;
}
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
// Components // Components
// ---------- // ----------
@use './components/Annotation';
@use './components/AnnotationPublishControl'; @use './components/AnnotationPublishControl';
@use './components/AnnotationShareControl'; @use './components/AnnotationShareControl';
@use './components/AutocompleteList'; @use './components/AutocompleteList';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment