andreped commited on
Commit
07babc9
·
1 Parent(s): 5813da0

Updated CSS to include like styling

Browse files
Files changed (1) hide show
  1. postly/common/css.py +16 -0
postly/common/css.py CHANGED
@@ -24,6 +24,8 @@ def get_theme():
24
  padding: 10px;
25
  margin-bottom: 10px;
26
  background-color: #f5f8fa;
 
 
27
  }
28
  .post-header {
29
  font-weight: bold;
@@ -32,5 +34,19 @@ def get_theme():
32
  .post-content {
33
  color: #14171A;
34
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  </style>
36
  """
 
24
  padding: 10px;
25
  margin-bottom: 10px;
26
  background-color: #f5f8fa;
27
+ min-height: 100px; /* Adjust this value as needed */
28
+ position: relative; /* Ensure absolute positioning works within this container */
29
  }
30
  .post-header {
31
  font-weight: bold;
 
34
  .post-content {
35
  color: #14171A;
36
  }
37
+ .post-likes {
38
+ color: #657786;
39
+ font-size: 14px;
40
+ position: absolute;
41
+ bottom: 10px;
42
+ right: 10px;
43
+ }
44
+ .like-button {
45
+ background-color: transparent;
46
+ border: none;
47
+ color: #1DA1F2;
48
+ cursor: pointer;
49
+ font-size: 20px;
50
+ }
51
  </style>
52
  """