Refactor CSS for improved readability and maintainability, including adjustments to selectors and spacing for various components.
This commit is contained in:
parent
8ed0287d73
commit
aeebaaddda
@ -43,7 +43,7 @@
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
.ant-typography-ellipsis-single-line >code {
|
||||
.ant-typography-ellipsis-single-line > code {
|
||||
vertical-align: top !important;
|
||||
}
|
||||
|
||||
@ -55,7 +55,9 @@
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
.electron-navigation-wrapper li, .electron-navigation-wrapper button, .electron-navigation-wrapper .ant-tag{
|
||||
.electron-navigation-wrapper li,
|
||||
.electron-navigation-wrapper button,
|
||||
.electron-navigation-wrapper .ant-tag {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
@ -67,7 +69,8 @@
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.electron-sidebar .ant-menu-item, .electron-sidebar .ant-menu-submenu-title {
|
||||
.electron-sidebar .ant-menu-item,
|
||||
.electron-sidebar .ant-menu-submenu-title {
|
||||
height: 32.5px !important;
|
||||
line-height: 32.5px !important;
|
||||
}
|
||||
@ -78,10 +81,9 @@
|
||||
}
|
||||
|
||||
.loading-modal .ant-modal-footer {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
:root {
|
||||
--unit-100vh: 100vh;
|
||||
}
|
||||
@ -92,7 +94,7 @@ display: none;
|
||||
}
|
||||
|
||||
.dashboard-cards-header .ant-table-tbody {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ant-menu-overflow-item-rest::after {
|
||||
@ -225,19 +227,21 @@ body {
|
||||
}
|
||||
/* --- End of src/components/Dashboard/common/DashboardSidebar.css --- */
|
||||
|
||||
.objectTableDescritions >.ant-descriptions-view > table {
|
||||
.objectTableDescritions > .ant-descriptions-view > table {
|
||||
table-layout: fixed !important;
|
||||
}
|
||||
|
||||
.objectTableDescritions >.ant-descriptions-view .ant-descriptions-row >.ant-descriptions-item-label {
|
||||
.objectTableDescritions
|
||||
> .ant-descriptions-view
|
||||
.ant-descriptions-row
|
||||
> .ant-descriptions-item-label {
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.farmcontrol-splitter > .ant-splitter-bar {
|
||||
margin: 8px
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
|
||||
.dark-mode {
|
||||
--sb-track-color: #1d1d1d;
|
||||
--sb-thumb-color: #848484;
|
||||
@ -249,7 +253,6 @@ body {
|
||||
--sb-size: 8px;
|
||||
}
|
||||
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
@ -307,3 +310,7 @@ body {
|
||||
.ant-table-body {
|
||||
scrollbar-color: auto;
|
||||
}
|
||||
|
||||
.ant-select-selection-item .ant-tag {
|
||||
margin-left: 1px !important;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user