chore(core-blocks): PropertiesTable styles improvement

This commit is contained in:
Wroud
2020-10-12 01:28:51 +03:00
parent ce19fcd44a
commit 41f3d1e309
3 changed files with 8 additions and 4 deletions
@@ -43,13 +43,15 @@ const styles = composes(
display: flex;
box-sizing: border-box;
flex: 1;
margin: 0px 1px;
padding: 4px 0;
& ShadowInput {
padding: 0 36px;
}
}
property-value {
margin-left: 2px;
}
property-name {
flex: 0 0 auto;
width: 300px;
@@ -28,7 +28,7 @@ export const PROPERTIES_TABLE_STYLES = composes(
properties-header {
box-sizing: border-box;
display: inline-flex;
padding: 2px;
padding: 2px 0;
position: sticky;
z-index: 1;
top: 0;
@@ -39,7 +39,9 @@ export const PROPERTIES_TABLE_STYLES = composes(
box-sizing: border-box;
flex: 1;
padding: 4px 36px;
margin: 0px 1px;
}
properties-header-value, properties-header-right {
margin-left: 2px;
}
properties-header-name {
flex: 0 0 auto;
@@ -47,7 +49,6 @@ export const PROPERTIES_TABLE_STYLES = composes(
}
properties-header-right {
flex: 0 0 auto;
margin: 0px 1px;
}
properties-list {
@@ -47,6 +47,7 @@ const styles = composes(
flex: 1;
display: flex;
flex-direction: column;
height: 100%;
}
TabList {