Skip to content

Commit

Permalink
fix styling for languages with longer setting names
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuettlerTNG committed Jan 29, 2025
1 parent 706c2dd commit 9dcf543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions WebUI/src/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,11 @@ textarea {
z-index: 99;

.panel-tab {
padding: 3px;
width: 110px;
height: 30px;
font-size: 14px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.2);
line-height: 30px;

&.active {
background-color: #26272c;
Expand Down
4 changes: 2 additions & 2 deletions WebUI/src/views/AppSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
id="app-settings-panel"
class="settings-panel absolute right-0 top-0 h-full bg-color-bg-main text-sm text-white py-4"
>
<div class="flex justify-between items-center px-3">
<div class="flex items-center gap-2">
<div class="flex justify-between px-3">
<div class="flex items-stretch gap-2">
<button class="panel-tab" :class="{ active: tabIndex == 0 }" @click="tabIndex = 0">
{{ languages.SETTINGS_TAB_IMAGE }}
</button>
Expand Down

0 comments on commit 9dcf543

Please sign in to comment.