Skip to content

Commit

Permalink
ia: make HiddenViolationUI fullwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
ChlodAlejandro committed Nov 16, 2024
1 parent a50d3cc commit ad9ca74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/modules/ia/css/infringement-assistant.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ body.rtl .ia-listing-action--bracket:last-child {
margin: 1em 0;
}

.dp-hiddenVio-message {
flex: 1;
}

.dp-hiddenVio-actions {
flex: 0;
margin-left: 1em;
Expand Down
3 changes: 1 addition & 2 deletions src/modules/ia/ui/HiddenViolationUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default class HiddenViolationUI {
private vioElement: HTMLElement;

/**
*
* @param el
*/
constructor( el: HTMLElement ) {
Expand All @@ -27,7 +26,7 @@ export default class HiddenViolationUI {
this.vioElement.insertAdjacentElement(
'beforebegin',
<div class="deputy dp-hiddenVio">
<div>{ this.renderMessage() }</div>
<div class="dp-hiddenVio-message">{ this.renderMessage() }</div>
<div class="dp-hiddenVio-actions">{ this.renderButton() }</div>
</div>
);
Expand Down

0 comments on commit ad9ca74

Please sign in to comment.