Skip to content

Commit

Permalink
fix wrong file ref in bulk selection delete, update bulma
Browse files Browse the repository at this point in the history
  • Loading branch information
ctf0 committed Feb 2, 2021
1 parent b97e6af commit 8485d0c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/resources/assets/sass/partials/utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
width: 100%;
}

.full-height {
height: 100%;
}

.p-l-0 {
padding-left: 0 !important;
}
Expand Down
2 changes: 1 addition & 1 deletion src/resources/views/media.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>{{ trans('MediaManager::messages.title') }}</title>

{{-- Styles --}}
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bulma@0.9.1/css/bulma.min.css">
</head>
<body>
<section id="app" v-cloak>
Expand Down
10 changes: 6 additions & 4 deletions src/resources/views/partials/modal/del-files-info.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<template v-if="bulkItemsFilter.length <= 8">
<div class="media" v-for="one in bulkItemsFilter" :key="one.path">
<figure class="media-left">
<span class="icon has-text-link">
<icon-types :file="selectedFile" :file-type-is="fileTypeIs"/>
<span class="icon has-text-link full-height full-width">
<icon-types :file="one" :file-type-is="fileTypeIs"/>
</span>
</figure>
<div class="media-content">
Expand All @@ -22,7 +22,9 @@
<template v-else>
<div class="media">
<figure class="media-left">
<span class="icon has-text-link"><icon name="archive" scale="1.5"></icon></span>
<span class="icon has-text-link full-height full-width">
<icon name="archive" scale="1.5"></icon>
</span>
</figure>
<div class="media-content">
<p class="title is-4">
Expand All @@ -45,7 +47,7 @@
<template v-if="selectedFile">
<div class="media">
<figure class="media-left">
<span class="icon has-text-link">
<span class="icon has-text-link full-height full-width">
<icon-types :file="selectedFile" :file-type-is="fileTypeIs" :scale="1.8"/>
</span>
</figure>
Expand Down

0 comments on commit 8485d0c

Please sign in to comment.