mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 05:10:20 +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;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
background: #fafafa;
|
background: ${props => props.theme.sidebar.backgroundColor};
|
||||||
color: #263238;
|
color: ${props => props.theme.colors.primary.main};
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.33);
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.33);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -78,7 +78,7 @@ export const ServerItem = styled.div`
|
||||||
export const ServerUrl = styled.div`
|
export const ServerUrl = styled.div`
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
background: #fff;
|
background: ${props => props.theme.sidebar.backgroundColor};
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
color: ${props => props.theme.colors.primary.main};
|
color: ${props => props.theme.colors.primary.main};
|
||||||
> span {
|
> span {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user