RedMindGPT_UI_Dev / static /css /knowledgebase.css
Aravind08's picture
make all the page responsive
d9533e8
body {
background-color: transparent !important;
}
.content-wrapper {
flex: 1;
overflow-y: auto;
}
.wrapper {
display: flex;
flex-direction: column;
height: 100vh;
}
.modal-content {
background-color: #fff;
}
.content-header {
padding: 1rem;
}
h1 {
text-align: center;
margin-bottom: 30px;
}
.table-responsive {
width: 100%;
overflow-x: auto;
/*overflow-y: scroll;*/
/* Allows horizontal scrolling if necessary */
}
.table,
.table-bordered {
width: 100%;
border-collapse: collapse;
margin-right: 7.5px;
}
.text-wrap {
white-space: normal !important;
word-break: break-word;
}
div.dataTables_wrapper div.dataTables_length select {
width: 60px;
display: inline-block;
}
th {
white-space: nowrap;
}
th:nth-child(1),
td:nth-child(1) {
/* Sno column */
width: 2%;
}
th:nth-child(2),
td:nth-child(2) {
/* Document Name column */
width: auto;
}
th:nth-child(3),
td:nth-child(3) {
/* Document Description column */
width: auto;
}
th:nth-child(4),
td:nth-child(4) {
/* Document Version column */
width: 20%;
}
th:nth-child(5),
td:nth-child(5) {
/* VectorDB Flag column */
width: auto;
}
th:nth-child(6),
td:nth-child(6) {
/* View column */
width: 10%;
}
th:nth-child(7),
td:nth-child(7) {
/* Edit column */
width: 10%;
}
th:nth-child(8),
td:nth-child(8) {
/* Delete column */
width: auto;
}
.alert {
position: relative;
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
.alert-success {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.alert-danger {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
/* .close {
position: absolute;
bottom: 10px;
right: 10px;
border: none;
background: none;
font-size: 16px;
cursor: pointer;
} */
aside {
margin-top: 100px !important;
}
.navbar {
margin-left: 0px !important;
}
ul {
display: flex !important;
row-gap: 20px !important;
margin-top: 40px !important;
}
i {
margin-top: 0px !important;
margin-right: 10px !important;
}
.table-container{
overflow: auto;
width: auto;
}