Skip to content

Commit

Permalink
Remove unused styles from activity settings panel
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 19, 2024
1 parent 81ff497 commit 15115ff
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions client/src/components/ActivityBar/ActivitySettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ function executeActivity(activity: Activity) {
</script>

<template>
<div class="activity-settings rounded no-highlight">
<div v-if="foundActivities" class="activity-settings-content">
<div class="no-highlight">
<div v-if="foundActivities">
<button
v-for="activity in filteredActivities"
:key="activity.id"
Expand Down Expand Up @@ -122,7 +122,7 @@ function executeActivity(activity: Activity) {
</div>
</button>
</div>
<div v-else class="activity-settings-content">
<div v-else>
<b-alert v-localize class="py-1 px-2" show> No matching activities found. </b-alert>
</div>
</div>
Expand All @@ -131,23 +131,14 @@ function executeActivity(activity: Activity) {
<style lang="scss">
@import "theme/blue.scss";
.activity-settings {
overflow-y: hidden;
display: flex;
flex-direction: column;
}
.activity-settings-content {
overflow-y: auto;
}
.activity-settings-item {
background: none;
border: none;
text-align: left;
transition: none;
width: 100%;
}
.activity-settings-item:hover {
background: $gray-200;
}
Expand Down

0 comments on commit 15115ff

Please sign in to comment.