Codebase audits, privacy, dark mode, palette (v1.9.0 to v1.9.4-audit) #14
2 changed files with 8 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export default function TimelineEntry({ item, variant = 'inline' }: Props) {
|
|||
<span className="ngu-tl__entryBody">
|
||||
<span className="ngu-tl__entryTitle">
|
||||
{logo ? (
|
||||
<img className="ngu-tl__logo" src={logo} alt="" loading="lazy" />
|
||||
<img className="ngu-tl__logo logo-plate" src={logo} alt="" loading="lazy" />
|
||||
) : (
|
||||
<span
|
||||
className={`ngu-tl__kind ngu-tl__kind--${item.kind}`}
|
||||
|
|
|
|||
|
|
@ -568,6 +568,13 @@ a.ngu-tl__entry--featured:hover {
|
|||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* An 18px mark: the dark-mode backing (.logo-plate, index.css) with
|
||||
a hairline of padding, not the usual quarter rem. */
|
||||
:root[data-theme] .ngu-tl__logo.logo-plate {
|
||||
padding: 1px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.ngu-tl__entry--featured .ngu-tl__logo {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue