0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 00:52:48 +00:00

Merge pull request #2065 from Gazook89/Small-Changes-to-Theme-Swapper

Small changes to theme swapper
This commit is contained in:
Trevor Buckner
2022-03-13 01:40:38 -05:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ const MetadataEditor = createClass({
dropdown =
<Nav.dropdown className='disabled' trigger='disabled'>
<div>
{`Themes are not suppdorted in the Legacy Renderer`} <i className='fas fa-caret-down'></i>
{`Themes are not supported in the Legacy Renderer`} <i className='fas fa-caret-down'></i>
</div>
</Nav.dropdown>;
} else {

View File

@@ -87,6 +87,7 @@
.navDropdownContainer {
background-color: white;
width: 100%;
position: relative;
&.disabled {
font-style:italic;
font-style: italic;
@@ -107,6 +108,8 @@
}
.navDropdown {
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
position:absolute;
width:100%;
.item {
padding: 3px 3px;
border-top: 1px solid rgb(118, 118, 118);
@@ -121,7 +124,7 @@
mask-image: linear-gradient(90deg, transparent, black 20%);
-webkit-mask-image: linear-gradient(90deg, transparent, black 20%);
position: absolute;
right: 0px;
left: ~"max(100px, 100% - 300px)";
top: 0px;
}
}