Skip to content

Commit

Permalink
Merge pull request #143 from Kyutech-C3/develop
Browse files Browse the repository at this point in the history
[change] markdown viewのデザイン修正
  • Loading branch information
Simo-C3 authored Jun 7, 2023
2 parents 5392697 + 2af78aa commit 79113c7
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions components/commons/MarkdownView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,21 @@ export default {
border-radius: 5px;
color: #905;
}
img {
display: block;
width: 60vw;
max-width: 80%;
height: auto;
margin: 20px auto;
border-radius: 20px;
pointer-events: none;
border: 1.5px solid;
border-color: #f5f5f5;
}
}
img {
display: block;
width: 60vw;
max-width: 80%;
height: auto;
margin: 20px auto;
border-radius: 20px;
pointer-events: none;
border: 1.5px solid;
border-color: #f5f5f5;
}
ul li {
margin-top: 20px;
margin-bottom: 20px;
}
hr {
border-bottom: dotted 3px $through-light-blue;
Expand Down Expand Up @@ -101,8 +105,9 @@ th {
padding: 0 5px;
}
.markdown p img,
.markdown ul img,
iframe {
width: 90vw !important;
width: 100% !important;
border-radius: 10px !important;
margin: 2rem auto;
max-width: none !important;
Expand All @@ -111,6 +116,14 @@ th {
iframe {
height: 50vw !important;
}
.markdown ul {
padding-left: 20px;
li {
margin-top: 10px;
margin-bottom: 10px;
}
}
.markdown p,
blockquote {
width: 95%;
Expand Down

0 comments on commit 79113c7

Please sign in to comment.