Skip to content

Commit e88a5d8

Browse files
fix style
1 parent f563af9 commit e88a5d8

File tree

2 files changed

+43
-29
lines changed

2 files changed

+43
-29
lines changed

docs/assets/invariant.css

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,6 @@ label.md-nav__title {
368368
justify-content: center;
369369
padding: 5pt 20pt;
370370
align-items: center;
371-
margin-top: 30pt;
372-
margin-bottom: 140pt;
373371
}
374372

375373
.overview .box {
@@ -418,24 +416,31 @@ label.md-nav__title {
418416
padding-top: 20pt;
419417
}
420418

421-
.overview .offline {
419+
.offline {
422420
border: 1pt dashed var(--primary-blue);
423-
width: calc(100%);
424-
height: 90pt;
425-
position: absolute;
426-
top: calc(100% + 20pt);
421+
width: calc(62.5%);
427422
left: -1pt;
428423
z-index: 0;
429424
border-radius: 4pt;
430425

431426
display: flex;
427+
flex-wrap: wrap;
432428
flex-direction: row;
433429
padding: 4pt;
434430
padding-left: 0pt;
435-
padding-top: 20pt;
431+
padding-top: 7pt;
432+
align-items: flex-start;
433+
justify-content: flex-start;
436434
}
437435

438-
.overview .offline hr {
436+
.offline .box {
437+
width: auto;
438+
flex: 1;
439+
min-width: 120pt;
440+
margin-bottom: 5pt;
441+
}
442+
443+
.offline hr {
439444
width: 160%;
440445
position: absolute;
441446
top: -25pt;
@@ -468,6 +473,7 @@ label.md-nav__title {
468473
margin: 0pt;
469474
white-space: nowrap;
470475
text-overflow: ellipsis;
476+
overflow: hidden;
471477
}
472478

473479
.overview .box p {
@@ -501,6 +507,7 @@ label.md-nav__title {
501507
border: none;
502508
padding: 0pt;
503509
display: flex;
510+
width: 65%;
504511
}
505512

506513
.overview .box.main:hover {

docs/index.md

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ print(response.messages[-1]["content"])
7070

7171
With this code, your agent is automatically tracked and all execution traces will be logged in a designated dataset on the <img class='inline-invariant' src="assets/logo.svg"/> [Invariant Explorer](https://explorer.invariantlabs.ai).
7272

73-
This enables you to analyze, debug and ensure the security of your agentic system, during development and operation. It also opens up your agent to the Invariant family of tools, allowing you to [observe and debug](./explorer/) your agent, [test it](testing/), and [analyze it for security vulnerabilities](https://github.com/invariantlabs-ai/invariant?tab=readme-ov-file#analyzer).
73+
Overall, this integration opens up your agent to the Invariant family of tools, allowing you to [observe and debug](./explorer/) your agent, [test it](testing/), and [analyze it for security vulnerabilities](https://github.com/invariantlabs-ai/invariant?tab=readme-ov-file#analyzer).
7474

7575
In the next sections, we will introduce the Invariant eco-system and how to get started with it.
7676

@@ -98,30 +98,37 @@ You can use each tool independently, or in combination with each other. The foll
9898
<i class='more'>→</i>
9999
</div>
100100
</div> -->
101-
<div class='offline'>
102-
<hr/>
103-
<div class='title'>Trace Analysis</div>
104-
<a class='box fill clear' href='./explorer'>
105-
<p>Explorer</p>
106-
<i>Trace viewing and debugging</i>
107-
<i class='more'>→</i>
108-
</a>
109-
<a class='box fill clear' href='./testing'>
110-
<p>Testing</p>
111-
<i>Agent Unit Testing</i>
112-
<i class='more'>→</i>
113-
</a>
114-
<a class='box fill clear' href='https://github.com/invariantlabs-ai/invariant?tab=readme-ov-file#analyzer'>
115-
<p>Analyzer</p>
116-
<i>Agent Security Scanner</i>
117-
<i class='more'>→</i>
118-
</a>
119-
</div>
120101
</div>
121102
<div class='clear box thirdparty'>
122103
LLM Provider
123104
</div>
124105
</div>
106+
<div class='overview'>
107+
<div class='clear box thirdparty hidden'>
108+
Agent
109+
</div>
110+
<div class='offline'>
111+
<div class='title'>Trace Analysis</div>
112+
<a class='box fill clear' href='./explorer'>
113+
<p>Explorer</p>
114+
<i>Trace viewing</i>
115+
<i class='more'>→</i>
116+
</a>
117+
<a class='box fill clear' href='./testing'>
118+
<p>Testing</p>
119+
<i>Agent Unit Testing</i>
120+
<i class='more'>→</i>
121+
</a>
122+
<a class='box fill clear' href='https://github.com/invariantlabs-ai/invariant?tab=readme-ov-file#analyzer'>
123+
<p>Analyzer</p>
124+
<i>Agent Security Scanner</i>
125+
<i class='more'>→</i>
126+
</a>
127+
</div>
128+
<div class='clear box thirdparty hidden'>
129+
LLM Provider
130+
</div>
131+
</div>
125132

126133
You can click any of the boxes to learn more about the respective tool.
127134

0 commit comments

Comments
 (0)