+
@@ -155,8 +155,10 @@ onUnmounted(() => {
.upper {
--height: 50px;
+ --margin: var(--MI-margin);
display: flex;
- gap: var(--MI-margin);
+ gap: var(--margin);
+ align-items: center;
height: var(--height);
.tabs:first-child {
@@ -169,6 +171,7 @@ onUnmounted(() => {
&.thin {
--height: 40px;
+ --margin: 8px;
> .buttons {
> .button {
@@ -179,12 +182,8 @@ onUnmounted(() => {
&.slim {
text-align: center;
- gap: 0;
- .tabs:first-child {
- margin-left: 0;
- }
- > .titleContainer {
+ .titleContainer {
margin: 0 auto;
max-width: 100%;
}
@@ -197,7 +196,7 @@ onUnmounted(() => {
}
.buttons {
- --margin: 8px;
+ flex-shrink: 0;
display: flex;
align-items: center;
min-width: var(--height);
@@ -207,16 +206,6 @@ onUnmounted(() => {
}
}
-.buttonsLeft {
- composes: buttons;
- margin: 0 var(--margin) 0 0;
-}
-
-.buttonsRight {
- composes: buttons;
- margin: 0 0 0 var(--margin);
-}
-
.avatar {
$size: 32px;
display: inline-block;
@@ -231,7 +220,7 @@ onUnmounted(() => {
align-items: center;
justify-content: center;
height: var(--height);
- width: calc(var(--height) - (var(--margin)));
+ width: calc(var(--height) - 8px);
box-sizing: border-box;
position: relative;
border-radius: 5px;
@@ -254,6 +243,7 @@ onUnmounted(() => {
.titleContainer {
display: flex;
align-items: center;
+ min-width: 0;
max-width: min(30vw, 400px);
overflow: clip;
white-space: nowrap;
@@ -287,9 +277,6 @@ onUnmounted(() => {
.title {
min-width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
line-height: 1.1;
}