This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-832f052f-f92e-4d6f-8be5-7a2b83269fd6 XWIKI-25746 Open

Make the style blocks of the Live Data Vue components scoped

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-44836c2e-5b45-4216-9e1d-f038987c595a Charpentier Lucas created this issue on 12/Nov/26 17:19
 
Summary: Make the style blocks of the Live Data Vue components scoped
Issue Type: cid:jira-generated-image-avatar-832f052f-f92e-4d6f-8be5-7a2b83269fd6 Improvement
Affects Versions: 18.9.0
Assignee: Unassigned
Components: Live Data
Created: 12/Nov/26 17:19
Priority: cid:jira-generated-image-static-major-bf74013a-23a8-4c13-b008-abb3c67b7ae4 Major
Reporter: Charpentier Lucas
Description:

Most of the Live Data Vue components declare unscoped <style> blocks, so their rules apply to the whole page and can leak to, or be broken by, other content. Some components, e.g. LivedataActions.vue or the filters, already use <style scoped>.

We should make the remaining style blocks scoped. Points to check while doing it:

  • the rules styling elements rendered by a child component, other than its root element, need :deep()
  • the small screen rules moved from reactive.less into the components in XWIKI-23666
  • the selectors that skins or extensions may override