Skip to content

Commit a3845bd

Browse files
authored
Merge pull request #931 from web3dev1337/fix/remove-diff-viewer-overlay-pills
fix: remove diff viewer overlay pills
2 parents 918216d + fcdce6c commit a3845bd

2 files changed

Lines changed: 4 additions & 74 deletions

File tree

site/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,6 @@ <h3 class="feature-title">Built-in Diff Viewer + Review Console</h3>
329329
</div>
330330
<figure class="feature-shot contain diff-viewer-shot">
331331
<img src="assets/diff-viewer-windows.png" alt="Diff viewer review console with agent and server panes alongside the in-app diff viewer">
332-
<div class="shot-badge shot-badge-top-left">Agent</div>
333-
<div class="shot-badge shot-badge-bottom-left">Server</div>
334-
<div class="shot-badge shot-badge-center">Diff Viewer</div>
335332
</figure>
336333
</article>
337334

site/styles.css

Lines changed: 4 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -735,63 +735,19 @@ a.btn-glow {
735735
}
736736

737737
.diff-viewer-shot {
738-
position: relative;
739-
min-height: clamp(360px, 48vw, 760px);
738+
min-height: 0;
740739
background:
741740
radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.12), transparent 34%),
742741
#060912;
743742
}
744743

745744
.diff-viewer-shot img {
745+
display: block;
746+
height: auto;
747+
min-height: 0;
746748
object-position: center top;
747749
}
748750

749-
.shot-badge {
750-
position: absolute;
751-
z-index: 2;
752-
display: inline-flex;
753-
align-items: center;
754-
justify-content: center;
755-
min-height: 38px;
756-
padding: 0.45rem 0.9rem;
757-
border-radius: 999px;
758-
border: 1px solid rgba(255, 255, 255, 0.16);
759-
background: rgba(4, 8, 18, 0.82);
760-
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
761-
color: #f8fbff;
762-
font-family: var(--font-mono);
763-
font-size: 0.82rem;
764-
font-weight: 600;
765-
letter-spacing: 0.04em;
766-
text-transform: uppercase;
767-
backdrop-filter: blur(14px);
768-
}
769-
770-
.shot-badge-top-left {
771-
top: 1rem;
772-
left: 1rem;
773-
color: #7dd3fc;
774-
border-color: rgba(56, 189, 248, 0.42);
775-
background: rgba(8, 47, 73, 0.78);
776-
}
777-
778-
.shot-badge-bottom-left {
779-
left: 1rem;
780-
bottom: 1rem;
781-
color: #86efac;
782-
border-color: rgba(34, 197, 94, 0.4);
783-
background: rgba(5, 46, 22, 0.8);
784-
}
785-
786-
.shot-badge-center {
787-
left: 50%;
788-
top: 50%;
789-
transform: translate(-50%, -50%);
790-
color: #fef3c7;
791-
border-color: rgba(251, 191, 36, 0.38);
792-
background: rgba(69, 26, 3, 0.8);
793-
}
794-
795751
.feature-shot.narrow {
796752
max-width: 380px;
797753
margin-left: auto;
@@ -1823,29 +1779,6 @@ body.legal-page {
18231779
min-height: 260px;
18241780
}
18251781

1826-
.diff-viewer-shot {
1827-
min-height: 280px;
1828-
}
1829-
1830-
.shot-badge {
1831-
font-size: 0.74rem;
1832-
min-height: 34px;
1833-
padding: 0.35rem 0.72rem;
1834-
}
1835-
1836-
.shot-badge-top-left,
1837-
.shot-badge-bottom-left {
1838-
left: 0.75rem;
1839-
}
1840-
1841-
.shot-badge-top-left {
1842-
top: 0.75rem;
1843-
}
1844-
1845-
.shot-badge-bottom-left {
1846-
bottom: 0.75rem;
1847-
}
1848-
18491782
.visual-grid,
18501783
.diff-columns,
18511784
.projects-visual {

0 commit comments

Comments
 (0)