Css fixes

This commit is contained in:
itdominator 2022-10-08 20:40:50 -05:00
parent 035b1ef974
commit 5a95117100
3 changed files with 21 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 KiB

After

Width:  |  Height:  |  Size: 490 KiB

View File

@ -1,7 +1,3 @@
.selector-for-some-widget {
box-sizing: content-box;
}
video { video {
width: 520px; width: 520px;
height: auto; height: auto;
@ -40,6 +36,15 @@ video {
/* Classes */ /* Classes */
.list-group {
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: inherit;
padding-left: 0;
margin-bottom: 0;
}
.scroller { .scroller {
scrollbar-color: #00000084 #ffffff64; scrollbar-color: #00000084 #ffffff64;
scrollbar-width: thin; scrollbar-width: thin;

View File

@ -54,9 +54,9 @@
<!-- Upload(ed) List --> <!-- Upload(ed) List -->
<div class="col"> <div class="col">
{% if oidc_isAdmin() %} {% if oidc_isAdmin() %}
<div class="col scroller" style="height:80vh; overflow-y: scroll;"> <div class="row scroller list-group" style="height:80vh; overflow-y: scroll; overflow-x: hidden;">
<!-- Uploadeed Files List --> <!-- Uploadeed Files List -->
<ul class="row list-group" style=""> <ul class="row" style="">
<span id="notesToView"></span> <span id="notesToView"></span>
{% for note in notes %} {% for note in notes %}
<li class="list-group-item card-text col-sm-12 col-md-6 col-lg-4 t{{ loop.index }}" textStrID="{{note['id']}}"> <li class="list-group-item card-text col-sm-12 col-md-6 col-lg-4 t{{ loop.index }}" textStrID="{{note['id']}}">
@ -103,13 +103,16 @@
{% for file in files %} {% for file in files %}
<li class="list-group-item col-sm-12 col-md-6 col-lg-4 r{{ loop.index }}"> <li class="list-group-item col-sm-12 col-md-6 col-lg-4 r{{ loop.index }}">
<p class="server-file-card text-right" fileName="{{file[0]}}" fileHash="{{file[1]}}"> <p class="server-file-card text-right" fileName="{{file[0]}}" fileHash="{{file[1]}}">
<span class="file-name card-title-text">{{file[0]}}</span> <span class="col file-name card-title-text">{{file[0]}}</span>
<img class="menu-item" src="{{ url_for('static', filename='imgs/octicons/pencil.svg')}}" title="Edit..." <span class="col-auto">
alt="Edit" data-bs-toggle="modal" data-bs-target="#editDialogModal" <img class="menu-item" src="{{ url_for('static', filename='imgs/octicons/pencil.svg')}}" title="Edit..."
onclick="preEditFile(this.parentElement)" /> alt="Edit" data-bs-toggle="modal" data-bs-target="#editDialogModal"
<img class="menu-item" src="{{ url_for('static', filename='imgs/octicons/trashcan.svg')}}" title="Delete..." onclick="preEditFile(this.parentElement.parentElement)" />
alt="Delete" data-bs-toggle="modal" data-bs-target="#deleteDialogModal" <img class="menu-item" src="{{ url_for('static', filename='imgs/octicons/trashcan.svg')}}" title="Delete..."
onclick="preDeleteFile(this.parentElement)" /> alt="Delete" data-bs-toggle="modal" data-bs-target="#deleteDialogModal"
onclick="preDeleteFile(this.parentElement.parentElement)" />
</span>
</p> </p>
{% if file[0].lower().endswith( (".png", ".jpg", ".jpeg") ) %} {% if file[0].lower().endswith( (".png", ".jpg", ".jpeg") ) %}
<a href="{{ url_for('uploads')}}/{{file[0]}}" target="_blank"> <a href="{{ url_for('uploads')}}/{{file[0]}}" target="_blank">