MSP-3229 fix height for content of pages

This commit is contained in:
Anastasiia committed 2024-05-13 13:30:06 +03:00
1 parent 775062a509
commit 3b660caddb
12 files changed
+57 -22

No files matched your search

@@ -5,7 +5,7 @@
width: 100%;
min-width: 760px;
padding: $basic-padding * 2;
padding: $basic-padding * 1.8;
border: 1px solid $border-color;
&__header {
@@ -1,27 +1,39 @@
@import "src/constants/style/styleConst";
.applications-content {
display: flex;
height: 100vh;
height: 100%;
display: grid;
grid-template-columns:250px 1fr;
width: 100%;
.column-content {
margin-left: $basic-margin;
}
&__add-btn {
display: flex;
max-width: 240px;
margin-left: auto;
margin-bottom: $basic-margin * 2;
}
&__update-btn {
margin-right: $basic-margin;
}
&__addToken-btn {
display: flex;
margin: 0 auto;
}
.link-btn {
color: $blue-color;
&:hover {
color: $text-color-blue;
}
}
}
.column {
border-left: 0;
}
}
+1 -1
View File
@@ -93,7 +93,7 @@ const RolesContent = ({
dataSource={permissions}
pagination={{ pageSize: 10 }}
scroll={{
y: 'calc(100vh - 450px)',
y: 'calc(100vh - 500px)',
}}
rowSelection={{
selectedRowKeys: value,
@@ -1,7 +1,7 @@
@import "../../constants/style/styleConst";
.roles-content {
padding: $basic-padding*3;
padding: $basic-padding*2 $basic-padding*3;
min-width: 400px;
&__header {
+15 -2
View File
@@ -1,7 +1,20 @@
@import "src/constants/style/styleConst";
.token-content {
padding: $basic-padding *2 $basic-padding;
overflow-x: scroll;
width: 100%;
&__wrap {
padding: $basic-padding*2 $basic-padding*3;
min-width: 700px;
}
&__header {
display: flex;
justify-content: space-between;
}
.copy-btn {
cursor: pointer;
}
}
}
-2
View File
@@ -11,8 +11,6 @@ $grey: #606060;
$border-color: #d9d9d9;
$error-red: #cf1322;
$border-color: #F0F0F0;
$blue-color: #40A9FF;
$blue-light: #E6F7FF;
$text-color-blue: #1890FF;
@@ -1,10 +1,24 @@
@import "src/constants/style/styleConst";
.applications-page {
height: 100vh;
height: 100%;
&__list {
.ant-list-item {
flex-direction: column;
align-items: self-start;
.applications-page__list__desc {
width: auto !important;
font-size: 12px;
}
}
}
.column-content {
max-height: 100vh;
}
.three-columns {
display: flex;
background: #fff;
@@ -4,6 +4,7 @@
height: calc(100vh - 150px);
width: 100%;
overflow-y: auto;
min-width: 700px;
&__buttons {
display: flex;
+1 -2
View File
@@ -2,12 +2,11 @@
.connection-page {
&__content {
padding: 2 * $basic-padding 3 * $basic-padding 2 * $basic-padding 0;
width: 100%;
&__wrap-table {
overflow-x: scroll;
height: calc(100vh - 100px);
height: calc(100vh - 150px);
}
}
+5 -7
View File
@@ -4,14 +4,13 @@
height: 100%;
&__tabs {
padding: $basic-padding*3 $basic-padding*2;
padding: 0 $basic-padding*2 $basic-padding*2;
width: 100%;
overflow-x: scroll;
}
.ant-list-item {
padding-bottom: 20px;
}
.ant-tag {
@@ -57,11 +56,14 @@
}
}
&__content {
overflow-x: scroll;
width: 100%;
}
.column .column__items__item span {
width: fit-content;
}
}
.three-columns {
@@ -122,7 +124,3 @@
}
}
}
.column .column__items__item span {
width: fit-content;
}
@@ -23,7 +23,7 @@
&__wrap-table {
overflow-x: scroll;
height: calc(100vh - 200px);
height: calc(100vh - 250px);
}
&__pagination {
+1 -1
View File
@@ -23,7 +23,7 @@
&__wrap-table {
overflow-x: scroll;
height: calc(100vh - 200px);
height: calc(100vh - 250px);
}
&__table {