ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[Dialog]: It's not possible to use CSS width:100%

Open mehdijouan opened this issue 7 years ago • 3 comments

Describe the bug The dialog component does not display a content with a 100% width component. It seems pretty much the same (but for the height) of https://github.com/SAP/ui5-webcomponents/issues/889 Isolated example https://codesandbox.io/s/vue-template-epsy5?fontsize=14

Expected behavior The three content divs should be separated Context

  • UI5 Web Components version 1.0.0.rc4
  • OS/Platform: macos
  • Other information: use of bootstrap

Affected components (if known) Dialog

mehdijouan avatar Nov 09 '19 23:11 mehdijouan

How this issue is going on? I've met this issue too. The content of dialog still does not include width: 100%.

I installed version 0.7.1 of @ui5/webcomponents-react.

gnseo avatar Jan 23 '20 04:01 gnseo

Anyone please have a look into the screenshot from https://github.com/SAP/ui5-webcomponents-react/issues/285.

The dialog content is under the shadow dom, so css style from outside can not be affected. I just need following property for class ".ui5-dialog.content".

.ui5-dialog-content {
  width: "100%";
}

gnseo avatar Jan 30 '20 06:01 gnseo

Closing the issue as the PR is merged 😊

fifoosid avatar Feb 13 '20 12:02 fifoosid