Skip to content

Commit

Permalink
Use calc to determine max-width
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed May 25, 2022
1 parent 09fe750 commit 5c5656e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ export default defineComponent({
.resource-table {
&-resource-wrapper {
&-limit-max-width {
max-width: 90%;
max-width: calc(100% - var(--oc-space-medium));
}
&:hover > .resource-table-edit-name {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports[`UploadInfo component should show uploaded files without parent folder l
<div class="upload-info-successful-uploads oc-px-m oc-pb-m oc-pt-m">
<ul class="oc-list">
<li class="oc-flex oc-flex-middle">
<oc-icon-stub name="check" filltype="fill" accessiblelabel="" type="span" size="small" variation="success" color=""></oc-icon-stub> <span class="oc-flex oc-flex-middle"><oc-resource-icon-stub resource="[object Object]" size="large" class="file_info__icon oc-mr-s"></oc-resource-icon-stub> <oc-resource-name-stub name="file" extension="" type="file" fullpath="" isextensiondisplayed="true"></oc-resource-name-stub></span>
<oc-icon-stub name="check" filltype="fill" accessiblelabel="" type="span" size="small" variation="success" color=""></oc-icon-stub> <span class="oc-flex oc-flex-middle"><oc-resource-icon-stub resource="[object Object]" size="large" class="file_info__icon oc-mr-s"></oc-resource-icon-stub> <oc-resource-name-stub name="file" extension="" type="file" fullpath="" isextensiondisplayed="true" truncatename="true"></oc-resource-name-stub></span>
</li>
</ul>
</div>
Expand Down

0 comments on commit 5c5656e

Please sign in to comment.