Commit 4415dece authored by edy's avatar edy

fix(ui): keep session close icon visible across views

parent 0f949b0d
Pipeline #18463 failed
...@@ -507,23 +507,12 @@ ...@@ -507,23 +507,12 @@
} }
.conversation-shell .sidebar-session-close { .conversation-shell .sidebar-session-close {
display: inline-grid;
place-items: center;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
box-shadow: inset 0 0 0 1px rgba(167, 209, 236, 0.72); box-shadow: inset 0 0 0 1px rgba(167, 209, 236, 0.72);
color: #64809d; color: #64809d;
opacity: 0.58; opacity: 0.58;
} }
.conversation-shell .sidebar-session-close svg {
width: 14px;
height: 14px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
}
.conversation-shell .sidebar-session-card:hover .sidebar-session-close, .conversation-shell .sidebar-session-card:hover .sidebar-session-close,
.conversation-shell .sidebar-session-card:focus-within .sidebar-session-close { .conversation-shell .sidebar-session-card:focus-within .sidebar-session-close {
opacity: 1; opacity: 1;
......
...@@ -299,6 +299,8 @@ ...@@ -299,6 +299,8 @@
.sidebar-session-close { .sidebar-session-close {
width: 24px; width: 24px;
height: 24px; height: 24px;
display: inline-grid;
place-items: center;
padding: 0; padding: 0;
border: none; border: none;
background: rgba(255, 255, 255, 0.76); background: rgba(255, 255, 255, 0.76);
...@@ -312,6 +314,15 @@ ...@@ -312,6 +314,15 @@
cursor: pointer; cursor: pointer;
} }
.sidebar-session-close svg {
width: 14px;
height: 14px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
}
.sidebar-session-close:hover { .sidebar-session-close:hover {
color: var(--ui-color-primary-strong); color: var(--ui-color-primary-strong);
background: #f1f4fb; background: #f1f4fb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment