diff --git a/.drone.yml b/.drone.yml index 06e0ab73f5c..a82d6edebf1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -168,9 +168,9 @@ steps: link_names: true template: > {{#success build.status}} - <@channel> *success* <{{build.link}}> ({{build.branch}} {{build.number}}{{build.tag}}) by <@{{build.author}}>. + <@tujoworker> success on *{{build.branch}}* <{{build.link}}> by {{build.author}} {{else}} - <@channel> *failure* <{{build.link}}> ({{build.branch}} {{build.number}}{{build.tag}}) by <@{{build.author}}>. + <@tujoworker> failure on *{{build.branch}}* <{{build.link}}> by {{build.author}} {{/success}} username: DroneCI when: diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/Examples.js b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/Examples.js index 6875d8f7667..479b0937f75 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/Examples.js +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/Examples.js @@ -13,7 +13,7 @@ import AllComponents from 'dnb-ui-lib/src/components/form-row/AllComponents' // import AllComponents from './AllComponents' const TestStyles = styled.div` - /* // make sure our input gets an explicit width, because of mac/linux rendering differences */ + /* make sure our input gets an explicit width, because of mac/linux rendering differences */ :not(.dnb-input--stretch) .dnb-input__input { width: 12rem; } @@ -33,7 +33,11 @@ class Example extends PureComponent { > {/* @jsx */ ` + Custom legend: + + } label_direction="vertical" > @@ -68,7 +72,14 @@ class Example extends PureComponent { data-dnb-test="form-row-combined" > {/* @jsx */ ` - + + Custom vertical legend: + + } + vertical +> `} + + {/* @jsx */ ` +const CustomRow = styled(FormRow)\` + .dnb-form-row__content .dnb-button { + align-self: flex-end; + transform: translateY(0.25rem); /* 4px down */ + } +\` +render( +Legend } + label_direction="vertical" +> + +