Symptom
- The option to curve the border called "Corner Radius" is only available when the Input Control is formatted to show all the borders.
- How to format the borders to be curved, if we have only a left and right border for the Input Control, on a story in SAP Analytics Cloud?
Environment
SAP Analytics Cloud 2026.8.6
Reproducing the Issue
- Login to SAP Analytics Cloud.
- Open a story that uses input controls styled to show only left and right borders.
- Notice in the Styling pane, that there is no option to round the corners.
Cause
The option "Corner Radius" that is used to round the border corners, is only an option that applies when all the four borders (top, bottom, left, right) are enabled on the widget.
Resolution
It is possible to customized widgets formatting by using CSS, therefore, to format the border of Input Control and show a left and a right border with a curve, use CSS:
- In SAP Analytics Cloud, open the story containing the Input Controls you will like to have a rounded left and right borders.
- Go to the Edit mode.
- Add a CSS that format the Input Controls with round borders
- In the toolbar, under “Format”, select: “Edit CSS”
- In the Story CSS, add the following CSS that format the border of an Input Control to show a left and right borders, with a border radius ( curve ) of 8 pixel. ( This is a sample CSS. Modify it to suit your preferences )
.my-ic-borders .sap-custom-input-control-widget {
border-top: 0px solid transparent;
border-bottom: 0px solid transparent;
border-left: 1px solid #2d2c6e;
border-right: 1px solid #2d2c6e;
border-radius: 8px;
- In the Toolbar, select “Story – CSS”, and in the drop-down, select: “Close”
- Select an Input Control, and in the Styling pane on the right side, under “CSS Class Name” option, select the CSS created. In this example, select: my-ic-borders
- Still in the Styling pane, scroll down, and set the Border option to: No Border
- Repeat step 4, and 5 for each Input Control where you want it to have a left and right border to be curved.
- Save the story.
Keywords
SAC, input control, present mode, view mode, edit mode, border, corner radius, curved borders, straight lines, styling, widget, story, theme, css, visualization, formatting , KBA , LOD-ANA-DES , Story Design & Visualizations , How To
SAP Knowledge Base Article - Public