Commit 7cd3ad7
André Luiz
fix: improve logview UI (#1808)
* style: set max height and max width for code component
This is made not only to stop the logviewer to overflow its height,
which could be done by other means, but also to force the component
to occupy a determined share of the screen
* style: improve WrapperSheetContent component
Such improvement was made by locking a maximun height value and the
optimal value for clamp function
How were these values set? Empirically; no specific technique has been
used to set them.
Closes #1429
* style: wrap elements on log viewer subtitle
* style: allow log view to cover all space on smallest screen
* style: stack footer buttons vertically below lg break
Add flex-col/lg:flex-row so detailsButton and nav buttons
stack on small screens and align side by side on lg+.
* style: improve WrapperSheetContent footer responsiveness
Restructure footer buttons for small screens: wrap nav buttons with
grid-cols-1/lg:grid-cols-3, add vertical spacing (mt/mb) on mobile
removed on lg+, and distribute items with justify-evenly on small
screens and justify-end on lg+.
* style: remove horizontal margin on certain breakpoints
This was made as it was causing the middle button to shrink on smaller
breakpoints1 parent 7833866 commit 7cd3ad7
4 files changed
Lines changed: 16 additions & 16 deletions
File tree
- dashboard/src/components
- Filter
- Log
- Sheet
- ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
139 | 144 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments