Neilk1021 commented on code in PR #7339: URL: https://github.com/apache/texera/pull/7339#discussion_r3752086192
########## frontend/src/app/hub/component/login/texera-login.component.scss: ########## @@ -0,0 +1,160 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +$text-secondary: rgba(0, 0, 0, 0.45); +$error: #ff4d4f; +$bg: #f0f2f5; +$card-bg: #fff; + +:host { + display: flex; + align-items: center; + justify-content: center; + min-height: 100vh; + padding: 32px 16px; + background: $bg; + -webkit-font-smoothing: antialiased; +} + +* { + box-sizing: border-box; +} + +.card { + width: 100%; Review Comment: The width value or the whole card scss? If its the whole class then I'd argue it's 100% needed as without it the card looks radically different and doesn't stand off the page at all. Without this code the login stops existing. <img width="993" height="597" alt="image" src="https://github.com/user-attachments/assets/2284b0be-a32c-4181-b653-4f5414018260" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
