Fix display of long tags

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/14/head
trivernis 3 years ago
parent f788d195eb
commit fbe516a7df
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -87,6 +87,7 @@
font-size: 1.2em; font-size: 1.2em;
transition-duration: 0.1s; transition-duration: 0.1s;
width: 100%; width: 100%;
background-color: $background-lighter-05;
app-tag-item { app-tag-item {
margin: auto auto auto 0.25em; margin: auto auto auto 0.25em;
@ -94,12 +95,12 @@
} }
.selectable-tag:hover { .selectable-tag:hover {
background-color: $background-lighter-05; background-color: $background-lighter-10;
} }
.selectable-tag:active { .selectable-tag:active {
cursor: pointer; cursor: pointer;
background-color: $background-lighter-10; background-color: $background;
} }
cdk-virtual-scroll-viewport { cdk-virtual-scroll-viewport {

@ -1,11 +1,18 @@
@import "src/colors"; @import "src/colors";
:host {
height: 100%;
overflow: hidden;
display: flex;
}
.tag-item-wrapper { .tag-item-wrapper {
display: inline;
width: 100%; width: 100%;
padding: 0.25em; padding: 0.25em;
word-break: break-all;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: keep-all;
overflow: hidden;
margin: auto;
} }
.tag-item-namespace { .tag-item-namespace {

Loading…
Cancel
Save