File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
site/src/components/Dashboard/LicenseBanner Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ export const LicenseBannerView: React.FC<LicenseBannerViewProps> = ({
45
45
const containerStyles = css `
46
46
${ theme . typography . body2 as CSSObject }
47
47
48
+ display : flex;
49
+ align-items : center;
48
50
padding : ${ theme . spacing ( 1.5 ) } ;
49
51
background-color : ${ type === "error"
50
52
? colors . red [ 12 ]
@@ -82,19 +84,9 @@ export const LicenseBannerView: React.FC<LicenseBannerViewProps> = ({
82
84
</ Link >
83
85
</ div >
84
86
< Expander expanded = { showDetails } setExpanded = { setShowDetails } >
85
- < ul
86
- css = { {
87
- padding : theme . spacing ( 1 ) ,
88
- margin : 0 ,
89
- } }
90
- >
87
+ < ul css = { { padding : theme . spacing ( 1 ) , margin : 0 } } >
91
88
{ messages . map ( ( message ) => (
92
- < li
93
- css = { {
94
- margin : theme . spacing ( 0.5 ) ,
95
- } }
96
- key = { message }
97
- >
89
+ < li css = { { margin : theme . spacing ( 0.5 ) } } key = { message } >
98
90
{ message }
99
91
</ li >
100
92
) ) }
You can’t perform that action at this time.
0 commit comments