File tree Expand file tree Collapse file tree 2 files changed +11
-35
lines changed
Expand file tree Collapse file tree 2 files changed +11
-35
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ function loadSettings() {
7171 } ) ;
7272 storage . getSettings ( STORAGE_RESTRICTION_LIST , function ( items ) {
7373 restrictionList = items ;
74+ if ( restrictionList === undefined )
75+ restrictionList = [ ] ;
7476 viewRestrictionList ( items ) ;
7577 } ) ;
7678}
Original file line number Diff line number Diff line change @@ -173,18 +173,14 @@ input[type="button"]{
173173 cursor : pointer;
174174 min-width : 80px ;
175175 text-align : center;
176- width : 170 px ;
176+ width : 200 px ;
177177}
178178
179179input [type = "button" ]: hover {
180180 background : # 5c9dfe ;
181181 text-decoration : none;
182182 }
183183
184- .margin-top-5 {
185- margin-top : 5px ;
186- }
187-
188184.margin-top-10 {
189185 margin-top : 10px ;
190186 }
@@ -242,8 +238,8 @@ input[type="button"]:hover {
242238 }
243239
244240 .notify {
245- width : 250 px ;
246- height : 22 px ;
241+ width : 200 px ;
242+ height : 30 px ;
247243 margin : auto;
248244 background-color : rgb (118 , 219 , 93 );
249245 color : rgb (0 , 0 , 0 );
@@ -254,19 +250,15 @@ input[type="button"]:hover {
254250 z-index : 1 ;
255251 top : 10px ;
256252 right : 20px ;
257- font-size : 15 px ;
253+ font-size : 17 px ;
258254 white-space : nowrap;
259255 padding : 10px ;
260256 }
261257
262- .notify .warning {
263- background-color : rgb (219 , 93 , 104 );
264- }
265-
266258 .listbox {
267259 overflow-y : auto;
268- width : 263 px ;
269- height : 100 px ;
260+ width : 350 px ;
261+ height : 120 px ;
270262 padding : 3px ;
271263 padding : 3px 5px 3px 5px ;
272264 border : 1px solid rgb (172 , 169 , 169 );
@@ -278,7 +270,7 @@ input[type="button"]:hover {
278270 }
279271
280272 # addBlackSiteLbl {
281- width : 233 px ;
273+ width : 321 px ;
282274 height : 15px ;
283275 padding : 3px ;
284276 }
@@ -292,7 +284,7 @@ input[type="button"]:hover {
292284 }
293285
294286 # addRestrictionSiteLbl {
295- width : 233 px ;
287+ width : 323 px ;
296288 height : 15px ;
297289 padding : 3px ;
298290}
@@ -307,23 +299,5 @@ input[type="button"]:hover {
307299
308300# restrictionsList {
309301 width : 430px ;
310- height : 250px ;
311- }
312-
313- .inline-block {
314- display : inline-block !important ;
315- }
316-
317- .block {
318- display : block;
319- }
320-
321- .readonly-input {
322- cursor : default;
323- border : 0 ;
324- display : block;
325- }
326-
327- .restriction-item {
328- width : 380px ;
302+ height : 170px ;
329303}
You can’t perform that action at this time.
0 commit comments