fix overflow

This commit is contained in:
EvilMuffinHa 2022-03-02 15:50:45 -05:00
parent 389c61e44e
commit 19c2ad1a85
2 changed files with 4 additions and 4 deletions

View File

@ -25,12 +25,12 @@
{{#each ctx}}
<div class="d-flex flex-row">
{{#if is_file}}
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/file/{{path}}" role="button">
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/file/{{path}}" role="button" style="overflow: hidden;">
<i class="bi bi-file-earmark"></i>
{{name}}
</a>
{{else}}
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/serve/{{path}}" role="button">
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/serve/{{path}}" role="button" style="overflow: hidden;">
<i class="bi bi-folder-fill"></i>
{{name}}
</a>

View File

@ -19,12 +19,12 @@
{{#each ctx}}
<div class="d-flex flex-row">
{{#if is_file}}
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/file/{{path}}" role="button">
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/file/{{path}}" role="button" style="overflow: hidden;">
<i class="bi bi-file-earmark"></i>
{{name}}
</a>
{{else}}
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/serve/{{path}}" role="button">
<a type="button" class="btn btn-outline-secondary text-start col-sm-3" href="/serve/{{path}}" role="button" style="overflow: hidden;">
<i class="bi bi-folder-fill"></i>
{{name}}
</a>