<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forms - css classes and overflowing labels in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41075#M17224</link>
    <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;It turned out I had to add my css in the main css file, i.e. styles.scss. "white-space: normal;" fixes the overflowing problem.&lt;/P&gt;&lt;P&gt;However, I noticed that I still can't overwrite css per se, i.e. I can add new css properties but can't overwrite the ones that are already specified. Any idea if it's possible? Also, can it be done on the component level, instead of adding css in the main styles.scss file?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2020 08:41:35 GMT</pubDate>
    <dc:creator>dzider</dc:creator>
    <dc:date>2020-08-05T08:41:35Z</dc:date>
    <item>
      <title>Forms - css classes and overflowing labels</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41073#M17222</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have some problems with displaying forms in ADF, especially styling them and containing overflowing labels, e.g:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/83i30AC989F74BBF1A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I thought about overwriting css but for some reason overwriting classes (in this case adf-label) doesn't work. I can change only elements with id.&lt;/P&gt;&lt;P&gt;How do I overwrite css classes? Alternatively, is there any other way of fixing the styling of the forms?&lt;/P&gt;&lt;P&gt;Thanks for any help&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 09:17:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41073#M17222</guid>
      <dc:creator>dzider</dc:creator>
      <dc:date>2020-07-23T09:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Forms - css classes and overflowing labels</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41074#M17223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80073"&gt;@dzider&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Could you outline what you did that didn't work re: overriding css classes?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 14:51:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41074#M17223</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-07-24T14:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Forms - css classes and overflowing labels</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41075#M17224</link>
      <description>&lt;P&gt;Hi &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;It turned out I had to add my css in the main css file, i.e. styles.scss. "white-space: normal;" fixes the overflowing problem.&lt;/P&gt;&lt;P&gt;However, I noticed that I still can't overwrite css per se, i.e. I can add new css properties but can't overwrite the ones that are already specified. Any idea if it's possible? Also, can it be done on the component level, instead of adding css in the main styles.scss file?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 08:41:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41075#M17224</guid>
      <dc:creator>dzider</dc:creator>
      <dc:date>2020-08-05T08:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Forms - css classes and overflowing labels</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41076#M17225</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Maybe those links can help you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/user-guide/theming.md" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/user-guide/theming.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://material.angular.io/guide/customizing-component-styles" target="_blank" rel="nofollow noopener noreferrer"&gt;https://material.angular.io/guide/customizing-component-styles&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/tutorials/basic-theming.md" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/tutorials/basic-theming.md&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In general, anyway, the style should be possible to overwrite from your component as well. We use encapsulation none in our components:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://angular.io/api/core/ViewEncapsulation" target="_blank" rel="nofollow noopener noreferrer"&gt;https://angular.io/api/core/ViewEncapsulation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe your css os scss was included in the build or it didn't get it for some priority and you need !important&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 10:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/forms-css-classes-and-overflowing-labels/m-p/41076#M17225</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2020-08-10T10:04:00Z</dc:date>
    </item>
  </channel>
</rss>

