diff --git a/smartassist/src/static/css/clientstyle.css b/smartassist/src/static/css/clientstyle.css index df9c3d2..0e78ccb 100644 --- a/smartassist/src/static/css/clientstyle.css +++ b/smartassist/src/static/css/clientstyle.css @@ -94,9 +94,10 @@ button[onclick="window.frontendApi.sendMessage()"]:active { display: none; position: absolute; background-color: #f9f9f9; - min-width: 160px; + /* min-width: 160px; */ box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; + width: auto; /* Add this property */ } .dropdown-content a { @@ -107,7 +108,7 @@ button[onclick="window.frontendApi.sendMessage()"]:active { display: block; font-size: 0.7rem; /* Decrease font size relative to root element */ line-height: 0.5; /* Decrease line height to reduce spacing */ - + white-space: nowrap; /* Add this property */ } .dropdown-content a:hover {background-color: #f1f1f1;}