Skip to content
Snippets Groups Projects
Commit 464d6031 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

textswitch: Fill the width of the host element

parent 5fc3614a
No related branches found
No related tags found
No related merge requests found
Pipeline #11447 passed with warnings
...@@ -49,6 +49,7 @@ export class TextSwitch extends LitElement { ...@@ -49,6 +49,7 @@ export class TextSwitch extends LitElement {
div { div {
white-space: nowrap; white-space: nowrap;
display: flex;
} }
#button1 { #button1 {
...@@ -60,6 +61,10 @@ export class TextSwitch extends LitElement { ...@@ -60,6 +61,10 @@ export class TextSwitch extends LitElement {
color: var(--vpu-primary-text-color) !important; color: var(--vpu-primary-text-color) !important;
} }
.button {
flex-grow: 1;
}
.button:hover { .button:hover {
background-color: var(--vpu-secondary-bg-color) !important; background-color: var(--vpu-secondary-bg-color) !important;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment