Skip to content
Permalink
Browse files
[fix] update sidebar styles (#15)
* [fix] update siderbar styles
  • Loading branch information
colordove committed Mar 24, 2022
1 parent 4160c4c commit 13b78db4ac22bd1f1a4c9f6bfef74d27e06b8fb4
Showing 8 changed files with 50 additions and 7 deletions.
@@ -37,13 +37,18 @@ jobs:
with:
distribution: adopt
java-version: '8'

- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Setup thrift
run: |
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y thrift-compiler=0.13.0-2build2
thrift --version
touch custom_env.sh
echo 'export THRIFT_BIN=/usr/bin/thrift' >> custom_env.sh
- name: Build Application
run: sh build.sh


@@ -105,6 +105,7 @@ export function Header(props: HeaderProps) {
} */}
<Button
type="link"
style={{marginTop: 2}}
onClick={() => {
i18n.changeLanguage(i18n.language === 'zh' ? 'en' : 'zh');
}}
@@ -51,10 +51,14 @@
padding: 0;
background: white;
border-bottom: '1px solid #d9d9d9';
height: 64px;
line-height: 64px;
}

.adminStyle{
padding: 0;
background: white;
border-bottom: '1px solid #d9d9d9';
height: 64px;
line-height: 64px;
}
@@ -39,9 +39,12 @@
background-color: #002140 !important;
}


.line {
height: 1px;
margin: 14px 24px;
background-color: #fff;
margin: 14px 0;
margin-left: 0px;
color: gray;
background-color: gray;

}
@@ -59,4 +59,34 @@ h1,h2,h3,h4,h5,h6 {
}
.ant-layout-sider {
position: fixed !important;
}

.ant-layout-sider-collapsed {
width: 64px !important;
min-width: 64px !important;
flex: 0 0 64px !important;
}

.ant-layout-sider-collapsed .ant-layout-sider-trigger {
width: 64px !important;
}

.ant-menu-item {
height: 48px !important;
}

.ant-layout-sider-collapsed .ant-menu-item {
height: 48px !important;
margin: 8px !important;
border-radius: 2px;
}
.ant-layout-sider-collapsed .ant-menu-item:first-child {
width: 100% !important;
margin: 0 !important;
border-radius: 0 !important;
}
.ant-layout-sider-collapsed .ant-menu-item-icon {
line-height: 48px !important;
margin-left: -6.5px !important;
margin-top: 2px !important;
}
@@ -16,7 +16,7 @@
// under the License.

.container {
margin-left: 80px;
margin-left: 64px;
overflow-y: scroll;
height: calc(100% - 44px);
}
@@ -16,11 +16,11 @@
// under the License.

.container {
width: calc(100% - 80px);
width: calc(100% - 64px);
background: white;
height: 100%;
overflow-y: scroll;
margin-left: 80px;
margin-left: 64px;
}
.container-content {
padding: 20px;
@@ -16,7 +16,7 @@
// under the License.

.container {
margin-left: 80px;
margin-left: 64px;
overflow-y: scroll;
height: calc(100% - 44px);
}

0 comments on commit 13b78db

Please sign in to comment.