File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
modals/modalContents/buttonBuilder Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 162162</SettingComponent >
163163
164164<SettingComponent name =" Background image" description =" A background image to use in the button." >
165- <span >{buttonConfig .backgroundImage ?? ' none' }</span >
165+ <span style = "word-break: break-word" >{buttonConfig .backgroundImage ?? ' none' }</span >
166166 <Button variant ={ButtonStyleType .PRIMARY } onclick ={() => changeBackgroundImage ()} tooltip =" Select from vault"
167- >Select </Button
167+ >Change </Button
168168 >
169169</SettingComponent >
170170
Original file line number Diff line number Diff line change 5757 class:disabled ={disabled }
5858 class:mb-error ={error }
5959 style ={cssStyle }
60- style:background-image ={backgroundImage }
60+ style:background-image ={backgroundImage ? ` url("${ backgroundImage }") ` : undefined }
6161 aria-label ={tooltip }
6262 disabled ={disabled }
6363 onclick ={event => click (event , ButtonClickType .LEFT )}
Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ div.mb-view-wrapper {
9999 vertical-align : bottom;
100100 /* Add a gap between text and icons. */
101101 gap : var (--size-4-1 );
102+ background-size : cover;
103+ background-position : center center;
102104
103105 & .mod-plain {
104106 background : none;
You can’t perform that action at this time.
0 commit comments