diff --git a/webapp/src/components/cardDetail/cardDetail.scss b/webapp/src/components/cardDetail/cardDetail.scss index 6be784598..dec23ca05 100644 --- a/webapp/src/components/cardDetail/cardDetail.scss +++ b/webapp/src/components/cardDetail/cardDetail.scss @@ -30,17 +30,38 @@ .octo-propertyrow { display: flex; - margin: 4px 0; + align-items: center; + margin: 6px 0; height: 32px; + .Switch { + margin-left: 8px; + width: 40px; + height: 24px; + box-sizing: border-box; + padding: 2px; + + .octo-switch-inner { + width: 20px; + height: 20px; + } + + &.on { + .octo-switch-inner { + transform: translateX(16px) translateY(0); + } + } + } + .octo-propertyvalue { font-size: 14px; + padding: 4px 8px; + height: 32px; &:not(.readonly) { min-width: 180px; transition: background 100ms ease-out 0s; cursor: pointer; - padding: 4px 8px; border-radius: 4px; &:hover { @@ -59,6 +80,16 @@ } } + .UserProperty { + .react-select__value-container { + padding: 0; + } + + .react-select__control { + margin-top: 0; + } + } + .octo-propertyname { width: 150px; margin-right: 5px; @@ -67,12 +98,13 @@ .Button { width: 100%; height: 100%; - padding: 8px; + padding: 4px 8px; text-align: left; justify-content: unset; } &.add-property { + margin: 8px 0 0; color: rgba(var(--center-channel-color-rgb), 0.4); } } diff --git a/webapp/src/components/properties/dateRange/dateRange.scss b/webapp/src/components/properties/dateRange/dateRange.scss index 2df801ac2..68cb9aabe 100644 --- a/webapp/src/components/properties/dateRange/dateRange.scss +++ b/webapp/src/components/properties/dateRange/dateRange.scss @@ -46,6 +46,7 @@ width: 100%; height: 100%; justify-content: left; + padding: 0; &.--empty { opacity: 0; diff --git a/webapp/src/components/properties/user/__snapshots__/user.test.tsx.snap b/webapp/src/components/properties/user/__snapshots__/user.test.tsx.snap index 7c6343c0a..1d0763825 100644 --- a/webapp/src/components/properties/user/__snapshots__/user.test.tsx.snap +++ b/webapp/src/components/properties/user/__snapshots__/user.test.tsx.snap @@ -12,13 +12,13 @@ exports[`components/properties/user not readonly 1`] = ` class="css-1f43avz-a11yText-A11yText" />
username-1
@@ -26,7 +26,7 @@ exports[`components/properties/user not readonly 1`] = ` class="css-1shkodo-Input" >