Skip to content

Commit 9328015

Browse files
author
minjk-bl
committed
block style changed
1 parent 578db8f commit 9328015

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

css/api_block/index.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,11 @@
320320
flex-direction: column;
321321
margin-left: 14px;
322322
margin-bottom: 400px;
323-
width: calc(100% - 68px);
323+
width: calc(100% - 60px);
324324
}
325325
.vp-block {
326326
position: relative;
327-
min-width: 205px;
327+
width: 100%;
328328
min-height: 25px;
329329
z-index: 1;
330330
text-align: left;
@@ -822,7 +822,7 @@
822822
}
823823
.vp-apiblock-codeline-ellipsis {
824824
width: 100%;
825-
background-color: rgba(255, 255, 255, 0.5);
825+
/* background-color: rgba(255, 255, 255, 0.5); */
826826
color: var(--font-primary);
827827
font-size: 12px;
828828
text-indent: 0.5em;

src/api_block/block.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,9 +1487,9 @@ define([
14871487

14881488
if (isColor == true) {
14891489
if (this.getBlockType() == BLOCK_CODELINE_TYPE.TEXT) {
1490-
$(this.getBlockMainDom()).css(STR_BORDER_LEFT, '2px solid var(--highlight-color');
1490+
$(this.getBlockMainDom()).css(STR_BORDER_LEFT, '2px solid var(--highlight-color)');
14911491
} else {
1492-
$(this.getBlockMainDom()).css(STR_BORDER, '2px solid var(--highlight-color');
1492+
$(this.getBlockMainDom()).css(STR_BORDER, '2px solid var(--highlight-color)');
14931493
}
14941494
}
14951495
}

0 commit comments

Comments
 (0)