old-fast-log-viewer/input.css

54 lines
953 B
CSS
Raw Normal View History

2024-10-03 18:41:43 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
th {
2024-10-05 20:13:17 +00:00
border-color: black;
@apply border px-4 py-2;
2024-10-03 18:41:43 +00:00
}
td {
2024-10-05 20:13:17 +00:00
@apply border px-4 py-2;
@apply text-ellipsis overflow-hidden;
2024-10-03 18:41:43 +00:00
}
2024-10-04 12:39:02 +00:00
td div {
2024-10-05 20:13:17 +00:00
@apply text-ellipsis overflow-hidden;
2024-10-03 18:41:43 +00:00
}
/* Ensure the body and html take up the full height */
2024-10-04 12:39:02 +00:00
html,
body {
2024-10-05 20:13:17 +00:00
height: 100vh;
margin: 0;
2024-10-03 18:41:43 +00:00
}
/* Parent container as a flex container */
.p-4 {
2024-10-05 20:13:17 +00:00
display: flex;
flex-direction: column;
overflow: hidden;
/* Prevents scrollbar on the body */
2024-10-03 18:41:43 +00:00
}
/* Header stays at the top */
.header {
2024-10-05 20:13:17 +00:00
position: fixed;
/* Set height as needed */
max-height: 80px;
/* Adjust to your header's height */
background-color: white;
/* Optional */
2024-10-03 18:41:43 +00:00
}
/* Content area fills the remaining space and is scrollable */
.content {
2024-10-05 20:13:17 +00:00
position: fixed;
max-height: calc(100vh - 90px);
/* Adjust to your header's height */
max-width: calc(100vw - 20px);
overflow-y: scroll;
overflow-x: scroll;
top: 80px;
}