SaitoTech / saito-lite-rust

a version of the Saito-Lite client written for compatibility with the Saito Rust client and binary data format
24 stars 28 forks source link

RefactorCSS Notes #1466

Open arpee opened 1 year ago

arpee commented 1 year ago

Notes:

This should be a clean new implementation - not a copy over. If there is a better or cleaner way to do somthing - this is the time to clean up the structure and method.

arpee commented 1 year ago

arpee commented 1 year ago

Is there a reason that we declare this:

.saito-user>div:nth-child(2) {
    grid-column-start: 2;
    grid-column-end: span 1;
    grid-row-start: 1;
    grid-row-end: span 1;
}

Rather than using .saito-address - or another class?

arpee commented 1 year ago

More requests:

Add tweets with content:

arpee commented 1 year ago

Notes:

I have changed the way we handle longer tweets. There are now two classes "preview" and "full".

These should be added if after rendering clientHeight < scrollHeight. So at the end of rendering the tweet.

We then need to add a function to remove preview and replace it with full on click of tweet.review.after and do the opposite on clicking tweet.full::after.

This will expand and contract the tweet content rather than add a scrollbar.

Notes:

please @davikstone2 and @umairkhannn - co-ordinate on this and ask me any questions if you are unsure - thanks

arpee commented 1 year ago

image

arpee commented 1 year ago

RS

Arcade

image We should go with:

arpee commented 1 year ago

image

Arcadexx the left sidebear and content both scroll off page - should only be center.

image image Have an issue here that the menu top (visible with mouse over) is in line but what folks see is the top of the text.

arpee commented 1 year ago

Things we should get right in redsquare that are good in redsquarex

arpee commented 1 year ago

Image

arpee commented 1 year ago

Can you explain the move to this structure?

    <div id="saito-container" class="saito-container">

      <div class="saito-sidebar-container">
        <div class="saito-sidebar left">
        </div>
      </div>

      <div class="saito-main">
      </div>

      <div class="saito-sidebar right">
      </div>

    </div>

why did we add saito-sidebar-container? thanks.

arpee commented 1 year ago