Commit 96339582 by Jonathan Thomas

Removing 'Editor' router-link. Updating scrolling-container div, to correctly…

Removing 'Editor' router-link. Updating scrolling-container div, to correctly size to vertical height of screen. Switching from overflow scroll to auto. Replacing favicon with OpenShot branding.
parent f2338909
Pipeline #8986 passed with stage
in 34 seconds
......@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>favicon.png">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
......
......@@ -17,12 +17,6 @@
<li v-show="isAuthenticated" class="nav-item">
<router-link to="/" class="nav-link" aria-current="page" exact>Projects</router-link>
</li>
<li v-if="project" v-show="isAuthenticated" class="nav-item">
<router-link :to="{'name': 'Editor', 'id': project.id}" class="nav-link" aria-current="page">Editor</router-link>
</li>
<li v-if="!project" v-show="isAuthenticated" class="nav-item">
<router-link to="/projects/none" class="nav-link" aria-current="page" :class="{ disabled: !project }">Editor</router-link>
</li>
<li v-show="isAuthenticated" class="nav-item">
<router-link to="/about" class="nav-link" aria-current="page">About</router-link>
</li>
......
......@@ -11,7 +11,8 @@
</div>
<!-- Scrolling container for clips -->
<div class="col-12 scrolling-container">
<div class="container p-2 scrolling-container">
<div class="col-12">
<div class="row gy-2 gx-2 mb-2" v-for="(clip, index) in thumbnailedClips" :key="clip.id">
<div class="col-12 text-center img-parent">
......@@ -58,6 +59,7 @@
</div>
</div>
</div>
</div>
<!-- Export Video Modal -->
<div class="modal fade" ref="exportModal" tabindex="-1" aria-labelledby="exportModalLabel" aria-hidden="true">
......@@ -263,8 +265,8 @@ export default {
<style scoped>
.scrolling-container {
max-height: 300px;
overflow: scroll;
max-height: 45vh;
overflow: auto;
}
.img-parent {
position: relative;
......
......@@ -18,7 +18,8 @@
</div>
<!-- Scrolling container for files -->
<div class="row mb-3 gx-2 p-2 scrolling-container">
<div class="container p-2 scrolling-container">
<div class="row mb-3 gx-2">
<div v-for="file in searchedFiles" :key="file.id" class="col-sm-12 col-md-6 col-lg-4" style="position: relative;">
<!-- Context Menu -->
<div class="btn-group dropstart context-menu" title="File Menu">
......@@ -46,6 +47,7 @@
</div>
</div>
</div>
</div>
<!-- Actual file input used for upload -->
<input ref="fileUpload" type="file" @change="fileChanged" multiple hidden>
......@@ -142,8 +144,8 @@ export default {
<style scoped>
.scrolling-container {
height: 135px;
overflow: scroll;
height: 18vh;
overflow: auto;
}
.upload-btn {
float: right;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment