mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-05 12:50:18 +03:00
Update styled.elements.ts
fix: handled style change in ServerUrl and ServersOverlay dynamically
This commit is contained in:
parent
7e01a0cfe2
commit
50d85cb935
|
@ -59,8 +59,8 @@ export const ServersOverlay = styled.div<{ expanded: boolean }>`
|
|||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
background: #fafafa;
|
||||
color: #263238;
|
||||
background: ${props => props.theme.sidebar.backgroundColor};
|
||||
color: ${props => props.theme.colors.primary.main};
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.33);
|
||||
overflow: hidden;
|
||||
|
@ -78,7 +78,7 @@ export const ServerItem = styled.div`
|
|||
export const ServerUrl = styled.div`
|
||||
padding: 5px;
|
||||
border: 1px solid #ccc;
|
||||
background: #fff;
|
||||
background: ${props => props.theme.sidebar.backgroundColor};
|
||||
word-break: break-all;
|
||||
color: ${props => props.theme.colors.primary.main};
|
||||
> span {
|
||||
|
|
Loading…
Reference in New Issue
Block a user