fix mainview border/padding ()

This commit is contained in:
Mike Sawka 2024-03-07 11:08:02 -08:00 committed by GitHub
parent 036b0ff989
commit 237a1088b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 5 deletions
src/app
clientsettings
common/elements
connections

View File

@ -1,7 +1,6 @@
.clientsettings-view {
.content {
padding: 14px 18px 0 30px;
border-top: 1px solid var(--app-border-color);
}
.wave-dropdown {

View File

@ -18,6 +18,7 @@
vertical-align: middle;
padding: 0 10px 0 10px;
margin: 0;
border-bottom: 1px solid var(--app-border-color);
.title {
font-size: var(--title-font-size);
@ -33,6 +34,10 @@
font-size: var(--title-font-size);
}
}
.mainview-content {
padding-top: 14px;
}
}
// This ensures the tab bar does not collide with the floating logo. The floating logo sits above the sidebar when it is not collapsed, so no additional margin is needed in that case.

View File

@ -31,7 +31,7 @@ class MainView extends React.Component<{
</div>
</header>
</div>
{this.props.children}
<div className="mainview-content">{this.props.children}</div>
</div>
);
}

View File

@ -28,9 +28,7 @@
thead {
border-radius: var(--sizing-2-xs, 4px);
border-top: 1px solid var(--table-thead-border-top-color);
border-bottom: 1px solid var(--table-thead-border-bottom-color);
background: var(--table-thead-bg-color);
border-bottom: 2px solid var(--table-thead-border-bottom-color);
th {
height: 32px;