Skip to content

Commit 1216a24

Browse files
committed
fix: minor UI styling improvements
- Update doc layout and typography styles - Refine header navigation appearance - Adjust main table content responsive behavior
1 parent 88954d7 commit 1216a24

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/ui/src/css/doc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@
281281
.doc table.tableblock th,
282282
.doc table.tableblock td {
283283
padding: 0.5rem;
284+
transition: background-color 0.2s ease-in-out;
284285
}
285286

286287
.doc table.tableblock,

docs/ui/src/css/header.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,10 @@ body {
105105
background-color: var(--navbar-font-color);
106106
height: 1.5px;
107107
width: 1rem;
108-
}
109-
110-
.navbar-burger:not(.is-active) span {
111108
transition:
112-
transform ease-out 0.25s,
113-
opacity 0s 0.25s,
114-
margin-top ease-out 0.25s 0.25s;
109+
transform 0.25s ease,
110+
opacity 0.25s ease,
111+
margin-top 0.25s ease;
115112
}
116113

117114
.navbar-burger span + span {

docs/ui/src/css/main.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ body.-toc aside.toc.sidebar {
33
}
44

55
@media screen and (max-width: 1023.5px) {
6-
aside.toc.sidebar {
7-
display: none;
8-
}
9-
106
main > .content {
117
overflow-x: auto;
128
}
139
}
1410

11+
@media screen and (max-width: 1300px) {
12+
aside.toc.sidebar {
13+
display: none;
14+
}
15+
}
16+
1517
@media screen and (min-width: 1024px) {
1618
main {
1719
flex: auto;

0 commit comments

Comments
 (0)